Repository.URD.UpdateURD

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

Syntax
object.URD.UpdateURD(urd)

where object is a variable that represents a Repository object.

Example
This example assumes that a URD with ID#1 exists in the repository.

VBA MyRepository Repository MyURD cURD MyRepository.Project.SetCurrentProject(1) MyURD = MyRepository.URD.GetURD(1) MyURD.Name = "New_Name" MyRepository.URD.UpdateURD(MyURD)

VB.NET MyRepository Repository MyURD cURD MyRepository.Project.SetCurrentProject(1) MyURD = MyRepository.URD.GetURD(1) MyURD.Name = "New_Name" MyRepository.URD.UpdateURD(MyURD)