IRelationship::get_Destination

Meta Data Services Programming

Meta Data Services Programming

IRelationship::get_Destination

This method retrieves an IRepositoryObject interface pointer to the destination object version of a relationship.

HRESULT get_Destination(     IRepositoryObject **ppIReposObj
)

Parameters

*ppIRepObj

[out]
The IRepositoryObject interface pointer for the destination object version.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

If the relationship is a destination versioned relationship, this method is equivalent to the get_Source method. If it is an origin versioned relationship, this method is equivalent to the get_Target method.

See Also

IRelationship::get_Source

IRelationship::get_Target

IRelationship::get_Origin

IRelationship Interface