IRelationship::DefaultPhrase method

Retrieves the default phrase to use for this relationship in restatements.

Syntax


HRESULT DefaultPhrase(
  [out, retval] LPWSTR *ppszPhrase
);

Parameters

ppszPhrase [out, retval]

Type: LPWSTR*

Receives the default phrase as a Unicode string. The calling application must free the string by calling CoTaskMemFree.

Return value

Type: HRESULT

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

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

 

 

Community Additions

ADD
Show: