IQuerySolution::GetQuery Method

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

Syntax

HRESULT GetQuery(      
    ICondition **ppQueryNode,
    IEntity **ppMainType
);

Parameters

  • ppQueryNode
    [out]  Receives a pointer to an ICondition condition tree that is the interpretation of the query string. This parameter can be NULL.
  • ppMainType
    [out]  Receives a pointer to an IEntity object that identifies the semantic type of the interpretation. This parameter can be NULL.

Return Value

Returns S_OK if successful, or an error value otherwise.