IRelationship::Name Method

Retrieves the name of the relationship.

Syntax

HRESULT Name(      
    LPWSTR *ppszName
);

Parameters

  • ppszName
    [out, retval] Receives a pointer to the name of the relationship as a Unicode string. The calling application must free the returned string by calling CoTaskMemFree.

Return Value

Returns S_OK if successful, or an error value otherwise.