CONDITION_OPERATION Enumerated Type

Provides a set of flags to be used with IConditionFactory, ICondition, and IConditionGenerator to indicate the operation.

Syntax

typedef enum tagCONDITION_OPERATION {
    COP_IMPLICIT = 0,
    COP_EQUAL = 1,
    COP_NOTEQUAL = 2,
    COP_LESSTHAN = 3,
    COP_GREATERTHAN = 4,
    COP_LESSTHANOREQUAL = 5,
    COP_GREATERTHANOREQUAL = 6,
    COP_VALUE_STARTSWITH = 7,
    COP_VALUE_ENDSWITH = 8,
    COP_VALUE_CONTAINS = 9,
    COP_VALUE_NOTCONTAINS = 10,
    COP_DOSWILDCARDS = 11,
    COP_WORD_EQUAL = 12,
    COP_WORD_STARTSWITH = 13,
    COP_APPLICATION_SPECIFIC = 14
} CONDITION_OPERATION;

Constants

  • COP_IMPLICIT
    An implicit comparison between the value of the property and the value of the constant.

  • COP_EQUAL
    The value of the property and the value of the constant must be equal.

  • COP_NOTEQUAL
    The value of the property and the value of the constant must not be equal.

  • COP_LESSTHAN
    The value of the property must be less than the value of the constant.

  • COP_GREATERTHAN
    The value of the property must be greater than the value of the constant.

  • COP_LESSTHANOREQUAL
    The value of the property must be less than or equal to the value of the constant.

  • COP_GREATERTHANOREQUAL
    The value of the property must be greater than or equal to the value of the constant.

  • COP_VALUE_STARTSWITH
    The value of the property must begin with the value of the constant.

  • COP_VALUE_ENDSWITH
    The value of the property must end with the value of the constant.

  • COP_VALUE_CONTAINS
    The value of the property must contain the value of the constant.

  • COP_VALUE_NOTCONTAINS
    The value of the property must not contain the value of the constant.

  • COP_DOSWILDCARDS
    The value of the property must match the value of the constant, where '?' matches any single character and '*' matches any sequence of characters.

  • COP_WORD_EQUAL
    The value of the property must contain a word that is the value of the constant.

  • COP_WORD_STARTSWITH
    The value of the property must contain a word that begins with the value of the constant.

  • COP_APPLICATION_SPECIFIC
    The application is free to interpret this in any suitable way.

Enumerated Type Information

Header and IDL files structuredquery.h, structuredquery.idl
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003, Windows Vista