Access to relationships is supported at both the COM and Automation level.
| To | Use |
|---|---|
| Create a relationship | The Add method of the IRelationshipCol interface. |
| Delete a relationship | The Remove method of the IRelationshipCol interface. |
| Retrieve a relationship | (Automation) The syntax relationshipCollection(index), as for retrieving an item from any Automation collection.
(COM) The get_Item method of the IRelationshipCol interface, specifying the relationship to be retrieved. |
| Retrieve an object that participates in a given relationship | The Origin or Destination property of the IRelationship interface. |