Repository.Action.UpdateAction

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

Syntax
object.Action.UpdateAction(action)

where object is a variable that represents a Repository object.

Example
This example assumes that an action with ID#1 exists in the repository.

VBA MyRepository Repository MyAction cAction MyRepository.Project.SetCurrentProject(1) MyAction = MyRepository.Action.GetAction(1) MyAction.Name = MyRepository.Action.UpdateAction(MyAction)

VB.NET MyRepository Repository MyAction cAction MyRepository.Project.SetCurrentProject(1) MyAction = MyRepository.Action.GetAction(1) MyAction.Name = MyRepository.Action.UpdateAction(MyAction)