Repository.URD.UpdateURD

Updates the properties of an existing URD in the current project. Changes are reflected in the repository immediately upon refresh. Returns a Boolean value; when true, indicates a successful update.

Syntax
.URD.UpdateURD(urd)

Parameters
urd
 * The cURD object to be updated.

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 = MyRepository.URD.UpdateURD(MyURD)

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