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.
Use this object to manage the relationships that belong to a particular relationship collection. With this object, you can:
| 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 definition object of the collection |
| Method | Description |
|---|---|
| Add | Adds a relationship to the collection |
| Insert | Inserts a relationship into a specific place in a sequenced collection |
| Move | Moves a relationship from one place to another in a sequenced collection |
| Refresh | Refreshes the cached image of the collection |
| Remove | Removes a relationship from the collection |