Export (0) Print
Expand All

IQuerySolution::GetQuery method

Retrieves the condition tree and the semantic type of the solution.

Syntax


HRESULT GetQuery(
  [out]  ICondition **ppQueryNode,
  [out]  IEntity **ppMainType
);

Parameters

ppQueryNode [out]

Type: ICondition**

Receives a pointer to an ICondition condition tree that is the interpretation of the query string. This parameter can be NULL.

ppMainType [out]

Type: IEntity**

Receives a pointer to an IEntity object that identifies the semantic type of the interpretation. This parameter can be NULL.

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:
© 2015 Microsoft