ICondition::GetConditionType method (structuredquerycondition.h)

Retrieves the condition type for this search condition node, identifying it as a logical AND, OR, or NOT, or as a leaf node.

Syntax

HRESULT GetConditionType(
  [out, retval] CONDITION_TYPE *pNodeType
);

Parameters

[out, retval] pNodeType

Type: CONDITION_TYPE*

Receives the CONDITION_TYPE enumeration for this node.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The StructuredQuerySample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.

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 structuredquerycondition.h (include Structuredquery.h)
Redistributable Windows Desktop Search (WDS) 3.0

See also

CONDITION_OPERATION

CONDITION_TYPE

ICondition

ICondition2

Reference