IVersionedRelationship Interface
A versioned relationship connects one source object version to any number of versions of a destination object. Versioned relationships are items within relationship collections.
When to Use
Use the IVersionedRelationship 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 methods |
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 |
IVersionedRelationship method |
Description |
Get_TargetVersions |
Returns an interface pointer to the set of target versions of the relationship |
Pin |
Establishes one target version as the pinned target version |
Unpin |
Unpins all target versions |
See Also
IRelationship Interface
Versioning Objects