IQueryParserManager::SetOption method (structuredquery.h)
Changes a single option in this IQueryParserManager object. For example, this method could change the name of the schema binary to load or the location of localized schema binaries.
Syntax
HRESULT SetOption(
[in] QUERY_PARSER_MANAGER_OPTION option,
[in] const PROPVARIANT *pOptionValue
);
Parameters
[in] option
Type: QUERY_PARSER_MANAGER_OPTION
The QUERY_PARSER_MANAGER_OPTION to be changed.
[in] pOptionValue
Type: PROPVARIANT const*
A pointer to the value to use for the option selected.
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 |