RelationshipCol Object

See Also

A relationship collection is the set of relationships that are attached to a particular source Repository object. All of the relationships in the collection must conform to the same relationship type.

When to Use

Use this object to manage the relationships that belong to a particular relationship collection. With this object, you can:

Properties

Property Description
Count The count of the number of items in the collection.
Item Retrieves the specified relationship or target object from the collection.
Source The source object for the relationship collection.
Type The object identifier for the collection's definition object.

Methods

Method Description
Add Adds a relationship to the collection.
Insert Inserts a relationship into a specific spot in a sequenced collection.
Move Moves a relationship from one spot to another in a sequenced collection.
Refresh Refreshes the cached image of the collection.
Remove Removes a relationship from the collection.