Access to relationships is supported at both the COM level and the Automation level.
To | Use |
Create a relationship | Add method of the IRelationshipCol interface. |
Delete a relationship | 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 | Origin or Destination property of the IRelationship interface. |