'Declaration
Public Function ReplaceObjectReferences( _ ByVal referencesToFetch() As String, _ ByVal fetchObjects As Boolean, _ ByVal options As Integer, _ ByVal replaceInObjects As IEnumerable(Of OID), _ ByVal replacementObject As ADTObject, _ ByVal saveChanges As Boolean, _ ByVal changeLogParms As ChangeLogParameters _ ) As FindReferenceResults
public FindReferenceResults ReplaceObjectReferences( string[] referencesToFetch, bool fetchObjects, int options, IEnumerable<OID> replaceInObjects, ADTObject replacementObject, bool saveChanges, ChangeLogParameters changeLogParms )
Parameters
- referencesToFetch
- List of references to fetch. Null to fetch all references.
- fetchObjects
- If True, the referencing objects are returned in the results. If False, only the OIDs of the referencing objects are returned.
- options
- Reserved for future use. Set to 0.
- replaceInObjects
- The OIDs of the objects to make the replacement in. See Remarks.
- replacementObject
- The object to replace the reference with, or null (Nothing) to remove the reference.
- saveChanges
- If true, adTempus attempts to save all modified objects. If false, the objects are returned but are not saved.
- changeLogParms
Return Value
True if the operation was completed successfully, False if errors occurred.