Share via


FilterOperator enumeration

Defines the operator used to compare the property value to the filter value.

Syntax

typedef enum  { 
  FilterOperator_GreaterThan         = 0,
  FilterOperator_GreaterThanOrEqual  = 1,
  FilterOperator_LessThan            = 2,
  FilterOperator_LessThanOrEqual     = 3,
  FilterOperator_Equal               = 4,
  FilterOperator_NotEqual            = 5,
  FilterOperator_HasBitSet           = 6,
  FilterOperator_HasNoBitSet         = 7,
  FilterOperator_IsNull              = 8,
  FilterOperator_IsNotNull           = 9,
  FilterOperator_HasExclusiveBitSet  = 10,
  FilterOperator_In                  = 11,
  FilterOperator_StartWith           = 12
} FilterOperator;

Constants

  • FilterOperator_GreaterThan
    Include the object in the result if the property value is greater than the filter value.

  • FilterOperator_GreaterThanOrEqual
    Include the object in the result if the property value is greater than or equal to the filter value.

  • FilterOperator_LessThan
    Include the object in the result if the property value is less than the filter value.

  • FilterOperator_LessThanOrEqual
    Include the object in the result if the property value is less than or equal to the filter value.

  • FilterOperator_Equal
    Include the object in the result if the property value equals the filter value.

  • FilterOperator_NotEqual
    Include the object in the result if the property value is not equal to the filter value.

  • FilterOperator_HasBitSet
    Include the object in the result if the property value has one or more bits set. For example, you can use this operator to test if the state of the job is failed or canceled by using the bitwise OR to set the filter value to both states.

  • FilterOperator_HasNoBitSet
    Include the object in the result if the property value has no bits set.

  • FilterOperator_IsNull
    Include the object in the result if the property value is null.

  • FilterOperator_IsNotNull
    Include the object in the result if the property value is not null.

  • FilterOperator_HasExclusiveBitSet
    Include the object in the result if the property value has a single bit set.

  • FilterOperator_In
    Include the object in the result if the property value equals one of the values in a SAFEARRAY of filter values. This value is supported only for HPC Pack 2008 R2.

  • FilterOperator_StartWith
    Include the object in the result if the property value starts with the filter value. This value is supported only for HPC Pack 2008 R2.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.Properties.tlb

See also

HPC Enumerations

IFilterCollection::Add