IQueryParser::SetMultiOption method (structuredquery.h)
Sets a complex option, such as a specified condition generator, to use when parsing an input string.
Syntax
HRESULT SetMultiOption(
[in] STRUCTURED_QUERY_MULTIOPTION option,
[in] LPCWSTR pszOptionKey,
[in] const PROPVARIANT *pOptionValue
);
Parameters
[in] option
Type: STRUCTURED_QUERY_MULTIOPTION
The complex option to be set.
[in] pszOptionKey
Type: LPCWSTR
A Unicode string that is interpreted differently for each value of the option parameter. For more information, see STRUCTURED_QUERY_MULTIOPTION.
[in] pOptionValue
Type: PROPVARIANT*
Pointer to a PROPVARIANT that is interpreted differently for each value of the option parameter. For more information, see STRUCTURED_QUERY_MULTIOPTION.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
Target Platform | Windows |
Header | structuredquery.h |
Redistributable | Windows Desktop Search (WDS) 3.0 |