IConditionFactory2 interface
Extends the functionality of IConditionFactory. IConditionFactory2 provides methods for creating or resolving a condition tree that was obtained by parsing a query string.
Members
The IConditionFactory2 interface inherits from IConditionFactory. IConditionFactory2 also has these types of members:
Methods
The IConditionFactory2 interface has these methods.
| Method | Description |
|---|---|
| CreateBooleanLeaf |
Creates a search condition that is either TRUE or FALSE. The returned object supports ICondition and ICondition2 |
| CreateCompoundFromArray |
Creates a leaf condition node that is a conjunction (AND) or a disjunction (OR) from an array of condition nodes. The returned object supports ICondition and ICondition2. |
| CreateCompoundFromObjectArray |
Creates a leaf condition node that is a conjunction (AND) or a disjunction (OR) of a collection of subconditions. The returned object supports ICondition and ICondition2. |
| CreateIntegerLeaf |
Creates a leaf condition node for an integer value. The returned object supports ICondition and ICondition2. |
| CreateNegation |
Creates a condition node that is a logical negation (NOT) of another condition (a subnode of this node). |
| CreateStringLeaf |
Creates a leaf condition node for a string value that represents a comparison of property value and constant value. The returned object supports ICondition and ICondition2. |
| CreateTrueFalse |
Creates a search condition that is either TRUE or FALSE. The returned object supports ICondition and ICondition2 |
| MakeLeaf |
Creates a leaf condition node for any value. The returned object supports ICondition and ICondition2. |
| ResolveCondition |
Performs a variety of transformations on a condition tree, and thereby the resolved condition for evaluation. The returned object supports ICondition and ICondition2. |
Remarks
The StructuredQuerySample code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
- Reference
- IConditionFactory
- CONDITION_TYPE
- CONDITION_OPERATION
- CONDITION_CREATION_OPTIONS
- ICondition
- ICondition2