IQueryParserManager::SetOption Method

Changes a single option in the IQueryParserManager. For example, this method could change the name of the schema binary to load or the location of localized the schema binaries.

Syntax

HRESULT SetOption(      
    QUERY_PARSER_MANAGER_OPTION option,
    PROPVARIANT const *pOptionValue
);

Parameters

  • option
    [in] The QUERY_PARSER_MANAGER_OPTION to be changed.
  • pOptionValue
    [in] A pointer to the value to use for the option selected.

Return Value

Returns S_OK if successful, or an error value otherwise.