FilterOperator Enumeration

Defines the operators that you can use to compare a property value to a filter value.


Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)

'Usage
Dim instance As FilterOperator

[GuidAttribute("923DF81C-82BE-4D3B-BBC0-D01DF5EDC510")] 
[ComVisibleAttribute(true)] 
public enum FilterOperator
/** @attribute GuidAttribute("923DF81C-82BE-4D3B-BBC0-D01DF5EDC510") */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum FilterOperator
GuidAttribute("923DF81C-82BE-4D3B-BBC0-D01DF5EDC510") 
ComVisibleAttribute(true) 
public enum FilterOperator

Member nameDescription
EqualInclude the object in the result if the property value equals the filter value. This enumeration member represents a value of 4.
GreaterThanInclude the object in the result if the property value is greater than the filter value. This enumeration member represents a value of 0.
GreaterThanOrEqualInclude the object in the result if the property value is greater than or equal to the filter value. This enumeration member represents a value of 1.
HasBitSetInclude 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. This enumeration member represents a value of 6.
HasExclusiveBitSetInclude the object in the result if the property value has a single bit set. This enumeration member represents a value of 10.
HasNoBitSetInclude the object in the result if the property value has no bits set. This enumeration member represents a value of 7.
InInclude the object in the result if the property value equals one of the values in an array of filter values. This enumeration member represents a value of 11. This value is only supported for Windows HPC Server 2008 R2.
IsNotNullInclude the object in the result if the property value is not null. This enumeration member represents a value of 9.
IsNullInclude the object in the result if the property value is null. This enumeration member represents a value of 8.
LessThanInclude the object in the result if the property value is less than the filter value. This enumeration member represents a value of 2.
LessThanOrEqualInclude the object in the result if the property value is less than or equal to the filter value. This enumeration member represents a value of 3.
NotEqualInclude the object in the result if the property value is not equal to the filter value. This enumeration member represents a value of 5.
StartWithInclude the object in the result if the property value starts with the filter value. This enumeration member represents a value of 12. This value is only supported for Windows HPC Server 2008 R2.

To use this enumeration in Visual Basic Scripting Edition (VBScript), you need to use the numeric values for the enumeration members or create constants that correspond to those members and set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.

const GreaterThan = 0
const GreaterThanOrEqual = 1
const LessThan = 2
const LessThanOrEqual = 3
const Equal = 4
const NotEqual = 5
const HasBitSet = 6
const HasNoBitSet = 7
const IsNull = 8
const IsNotNull = 9
const HasExclusiveBitSet = 10
const In = 11
const StartWith = 12

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show: