Repository.Xfmea.UpdateXfmeaCause Method

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

Syntax
.Xfmea.UpdateXfmeaCause(Cause)

Parameters
Cause
 * Required. The XfmeaCause object to be updated.

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

VBA MyRepository Repository MyRepository.ConnectToAccessRepository ACause XfmeaCause MyRepository.Project.SetCurrentProject(1) ACause = MyRepository.Xfmea.GetXfmeaCause(1) ACause.Dsc = MyRepository.Xfmea.UpdateXfmeaCause(ACause)

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository ACause XfmeaCause MyRepository.Project.SetCurrentProject(1) ACause = MyRepository.Xfmea.GetXfmeaCause(1) ACause.Dsc = MyRepository.Xfmea.UpdateXfmeaCause(ACause)