VersionedRelationship Object
See Also
A relationship connects two Repository objects in the Microsoft® Repository database. A relationship has an origin Repository object, a destination Repository object, and a set of properties. Each relationship conforms to a particular relationship type.
When to Use
Use the Relationship object to manipulate the properties of a relationship, to delete a relationship, or to refresh the cached image of a relationship.
Properties
| Destination |
The destination object of the relationship. |
| Interface |
The specified object interface. |
| Name |
The name of the relationship's destination object. |
| Origin |
The origin object of the relationship. |
| Repository |
The open repository instance through which this relationship was instantiated. |
| Source |
The source object of the relationship. |
| Target |
The target object of the relationship. |
| Type |
The type of the relationship. |
Methods
| Delete |
Deletes a relationship. |
| Lock |
Locks the relationship. |
| Pin |
Establishes a particular item in the TargetVersions collection as the pinned target version of the relationship. |
| Unpin |
Ensures that no item in the TargetVersions collection is pinned. |
Collections
| Properties |
The collection of all of the properties that are attached to the relationship. |
| TargetVersions |
The collection of all versions of the target object that are related to the relationship's source object version. |
(c) 1988-1998 Microsoft Corporation. All Rights Reserved.