IRelationship::IsReal method

Reports whether a relationship is real.

Syntax


HRESULT IsReal(
  [out, retval] BOOL *pIsReal
);

Parameters

pIsReal [out, retval]

Type: BOOL*

Receives TRUE for a real relationship; otherwise, FALSE.

Return value

Type: HRESULT

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

Remarks

A relationship is not considered real if its source entity derives from an entity that has a relationship of the same name. The purpose of such a "shadow" relationship is to store metadata specific to the inherited relationship.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Structuredquery.h

IDL

Structuredquery.idl

 

 

Show: