IQueryParser::RestateToString method (structuredquery.h)
Restates a condition as a structured query string. If the condition was the result of parsing an original query string, the keywords of that query string are used to a great extent. If not, default keywords are used.
HRESULT RestateToString( [in] ICondition *pCondition, [in] BOOL fUseEnglish, [out] LPWSTR *ppszQueryString );
The condition to be restated.
Reserved. Must be FALSE.
Receives the restated query string. The caller must free the string by calling CoTaskMemFree.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
|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|