IRelationship::IsReal Method

Reports whether a relationship is real.

Syntax

HRESULT IsReal(      
    BOOL *pIsReal
);

Parameters

  • pIsReal
    [out, retval] Returns TRUE for a real relationship; otherwise, FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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