IRelationship Interface
See Also
A relationship connects two Repository objects in the 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 IRelationship interface to manipulate a relationship, or to retrieve the source, target, origin, or destination object for a relationship.
Methods
IUnknown Method |
Description |
QueryInterface |
Returns pointers to supported interfaces. |
AddRef |
Increments the reference count. |
Release |
Decrements the reference count. |
IDispatch Method |
Description |
GetIDsOfNames |
Maps a single member and a set of argument names to a corresponding set of dispatch identifiers. |
GetTypeInfo |
Retrieves a type information object, which can be used to get the type information for an interface. |
GetTypeInfoCount |
Retrieves the number of type information interfaces that an object provides (either 0 or 1). |
Invoke |
Provides access to properties and methods exposed by an Automation object. |
IRepositoryDispatch Method |
Description |
get_Properties |
Retrieves the IReposProperties interface pointer. The IReposProperties interface provides access to the Properties collection. |
IRepositoryItem Method |
Description |
Delete |
Deletes a Repository item. |
get_Interface |
Retrieves an interface pointer to the specified item interface. |
get_Name |
Retrieves the name associated with an item. |
get_Repository |
Retrieves the IRepository interface pointer for an item's open Repository instance. |
get_Type |
Retrieves the type of an item. |
Lock |
Locks the item. |
put_Name |
Sets the name associated with an item. |
IRelationship Method |
Description |
get_Destination |
Retrieves an interface pointer to the destination object. |
get_Origin |
Retrieves an interface pointer to the origin object. |
get_Source |
Retrieves an interface pointer to the source object. |
get_Target |
Retrieves an interface pointer to the target object. |