IRelationship::get_Origin

Meta Data Services Programming

Meta Data Services Programming

IRelationship::get_Origin

This method 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 object version.

Return Value

S_OK

The method completed successfully.

Error Values

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.

See Also

IRelationship::get_Source

IRelationship::get_Target

IRelationship::get_Destination

IRelationship Interface