Export (0) Print
Expand All

IQueryParser::SetMultiOption method

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]  PROPVARIANT *pOptionValue
);

Parameters

option [in]

Type: STRUCTURED_QUERY_MULTIOPTION

The complex option to be set.

pszOptionKey [in]

Type: LPCWSTR

A Unicode string that is interpreted differently for each value of the option parameter. For more information, see STRUCTURED_QUERY_MULTIOPTION.

pOptionValue [in]

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

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

Header

Structuredquery.h

IDL

Structuredquery.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft