IRelationship::Destination method (structuredquery.h)

Retrieves the destination IEntity object of the relationship. The destination of a relationshipo corresponds to the type of a property.

Syntax

HRESULT Destination(
  [out, retval] IEntity **pDestinationEntity
);

Parameters

[out, retval] pDestinationEntity

Type: IEntity**

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

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header structuredquery.h
Redistributable Windows Desktop Search (WDS) 3.0