Retrieves an IRepositoryObject interface pointer to the origin object version of a relationship.
HRESULT get_Origin(
IRepositoryObject **ppIRepObj
);
Parameters
*ppIRepObj
[out]
The IRepositoryObject interface pointer for the origin Repository object version.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.
Remarks
If the relationship is an origin versioned relationship, this property is equivalent to the get_Source method. If it is a destination versioned relationship, this property is equivalent to the get_Target method.