Meta Data Services Programming
IRelationship::get_Origin
This method retrieves an IRepositoryObject interface pointer to the
HRESULT get_Origin(
IRepositoryObject **ppIRepObj
)
Parameters
*ppIRepObj
[out]
The IRepositoryObject interface pointer for the origin object version.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
If the relationship is an origin versioned relationship, this method is equivalent to the get_Source method. If the relationship is a destination versioned relationship, this method is equivalent to the get_Target method.