IRelationship::Destination Method
Retrieves the destination IEntity object of the relationship. The destination of a relationshipo corresponds to the type of a property.
Syntax
HRESULT Destination( IEntity **pDestinationEntity );
Parameters
- pDestinationEntity
[out, retval] Receives the address of a pointer to an IEntity object, or NULL if the relationship is not real. For more information, see IRelationship::IsReal.
Return Value
Returns S_OK if successful, or an error value otherwise.