Repository.Xfmea.UpdateItemInSystemHierarchy Method

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

Syntax
.Xfmea.UpdateItemInSystemHierarchy(item)

Parameters
item
 * Required. The XfmeaItem object to be updated.

Example
This example assumes that a system hierarchy item with record ID #1 exists in the first available project in a repository.

VBA MyRepository Repository MyRepository.ConnectToAccessRepository ListofItems XfmeaItem MyRepository.Project.SetCurrentProject(1) ListofItems = MyRepository.Xfmea.GetAllItemsInSystemHierarchy ListofItems(0).Nm = MyRepository.Xfmea.UpdateItemInSystemHierarchy(ListofItems(0))

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository ListofItems XfmeaItem MyRepository.Project.SetCurrentProject(1) ListofItems = MyRepository.Xfmea.GetAllItemsInSystemHierarchy ListofItems(0).Nm = MyRepository.Xfmea.UpdateItemInSystemHierarchy(ListofItems(0))