Repository.Pool.UpdatePool

Saves all updates to a spare part pool. Changes are reflected in the repository immediately upon refresh. Returns a Boolean value; when true, indicates a successful update.

Syntax
object.Pool.UpdatePool(pool)

where object is a variable that represents a Repository object.

Example
This example assumes that a spare part pool with ID#1 exists in the repository.

VBA MyRepository Repository MyPool cPool MyRepository.Project.SetCurrentProject(1) MyPool = MyRepository.Pool.GetPool(1) MyPool.Name = MyRepository.Pool.UpdatePool(MyPool)

VB.NET MyRepository Repository MyPool cPool MyRepository.Project.SetCurrentProject(1) MyPool = MyRepository.Pool.GetPool(1) MyPool.Name = MyRepository.Pool.UpdatePool(MyPool)