IRelationship::get_Origin

See Also

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 Microsoft® Repository 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 property is equivalent to the get_Source method. If it is a destination versioned relationship, this property is equivalent to the get_Target method.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.