Repository.Xfmea.UpdateXfmeaEffect Method

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

Syntax
.Xfmea.UpdateXfmeaEffect(Effect)

Parameters
Effect
 * Required. The XfmeaEffect object to be updated.

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

VBA MyRepository Repository MyRepository.ConnectToAccessRepository AEffect XfmeaEffect MyRepository.Project.SetCurrentProject(1) AEffect = MyRepository.Xfmea.GetXfmeaEffect(1) AEffect.Dsc = MyRepository.Xfmea.UpdateXfmeaEffect(AEffect)

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository AEffect XfmeaEffect MyRepository.Project.SetCurrentProject(1) AEffect = MyRepository.Xfmea.GetXfmeaEffect(1) AEffect.Dsc = MyRepository.Xfmea.UpdateXfmeaEffect(AEffect)