Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides a set of flags to be used with the following interfaces to indicate the type of condition tree node: ICondition, ICondition2, IConditionFactory, IConditionFactory2, and IConditionGenerator.
Syntax
typedef enum CONDITION_CREATION_OPTIONS {
CONDITION_CREATION_DEFAULT = 0,
CONDITION_CREATION_NONE = 0,
CONDITION_CREATION_SIMPLIFY = 0x1,
CONDITION_CREATION_VECTOR_AND = 0x2,
CONDITION_CREATION_VECTOR_OR = 0x4,
CONDITION_CREATION_VECTOR_LEAF = 0x8,
CONDITION_CREATION_USE_CONTENT_LOCALE = 0x10
} ;
Constants
CONDITION_CREATION_DEFAULTValue: 0 Indicates that the condition is set to the default value. |
CONDITION_CREATION_NONEValue: 0 Indicates that the condition is set to NULL. |
CONDITION_CREATION_SIMPLIFYValue: 0x1 Indicates that you should simplify the returned condition as much as possible. In some cases this flag indicates that the returned condition is not newly created but refers to an existing object. |
CONDITION_CREATION_VECTOR_ANDValue: 0x2 Indicates that you should create an AND condition of leaves with vector elements as values, instead of attempting to create a leaf condition with VT_VECTOR set in the PROPVARIANT. |
CONDITION_CREATION_VECTOR_ORValue: 0x4 Indicates that you should create an OR condition of leaves with vector elements as values, instead of attempting to create a leaf condition with VT_VECTOR set in the PROPVARIANT. |
CONDITION_CREATION_VECTOR_LEAFValue: 0x8 Indicates that you should allow the creation of a leaf condition with VT_VECTOR set in the PROPVARIANT. |
CONDITION_CREATION_USE_CONTENT_LOCALEValue: 0x10 Indicates that you should ignore any specified locale and use the currently selected content locale IConditionFactory2::CreateStringLeaf and IConditionFactory2::CreateLeaf. |
Remarks
>Only one of following flags should be set simultaneously:
- CONDITION_CREATION_VECTOR_AND
- CONDITION_CREATION_VECTOR_OR
- CONDITION_CREATION_VECTOR_LEAF
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Header | structuredquery.h |
See also
Reference