IQueryParser::ParsePropertyValue method (structuredquery.h)
Parses a condition for a specified property.
HRESULT ParsePropertyValue( [in] LPCWSTR pszPropertyName, [in] LPCWSTR pszInputString, [out, retval] IQuerySolution **ppSolution );
Query string to be parsed, relative to that property.
[out, retval] ppSolution
Receives an IQuerySolution object. The calling application must release it by calling its IUnknown::Release method.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The input string can be anything that could have been written immediately after a property in a structured query. For example, "from:(bill OR alex)" would be a valid structured query, so passing System.StructuredQuery.Virtual.From (for which From is a keyword) in the pszPropertyName parameter and "(bill OR alex)" or "bill OR alex" in the pszInputString parameter would be valid. This would result in an OR of leaf nodes that relate the System.StructuredQuery.Virtual.From property with the strings "bill" and "alex".
|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|