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 Repository object version.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.
Remarks
If the relationship is a destination versioned relationship, this property is equivalent to the get_Source method. If it is an origin versioned relationship, this property is equivalent to the get_Target method.
This method uses the Repository's Resolution Strategy to choose