Repository.Action.UpdateAction

Sends any changes made to an existing action resource to the Synthesis repository. Returns a Boolean value; when true, indicates a successful save.

Syntax
.Action.UpdateAction(action)

Parameters
action
 * Required. The cAction object to be updated.

Example
This example assumes that an action with ID #1 exists in the first available project of a repository.

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

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