Manipulating Versioned Relationships

Access to relationships is supported at both the COM level and the Automation level. Given a relationship that connects two Repository objects, you can perform the operations listed below. These operations are performed relative to a specific version of the source object.

To Use
Pin the destination object version The Pin method of the IversionedRelationship interface
Unpin the destination object version The Unpin method of the IversionedRelationship interface
Retrieve (a version of) the target object The Target property of the IRelationship interface
Retrieve the source object version The Source property of the IRelationship interface
Create a new relationship – to relate a new target object to a source object The Add method of the IrelationshipCol or ITargetObjectCol interface
Relate a subsequent target object version to a source object The Add method for the TargetVersions collection. This collection is accessible through the IversionedRelationship interface

For More Information   See the Repository Automation Reference or the "Repository COM Reference" section of the Repository Reference.