Repository.Xfmea.UpdateXfmeaEffect Method

Applies any changes made to an existing effect. 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 AEffect XfmeaEffect MyRepository.Project.SetCurrentProject(1) AEffect = MyRepository.Xfmea.GetXfmeaEffect(1) AEffect.Dsc = MyRepository.Xfmea.UpdateXfmeaEffect(AEffect)

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