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)
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)
[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 name | Description |
|---|---|
| Equal | Include the object in the result if the property value equals the filter value. This enumeration member represents a value of 4. |
| GreaterThan | Include the object in the result if the property value is greater than the filter value. This enumeration member represents a value of 0. |
| GreaterThanOrEqual | Include 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. |
| 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. This enumeration member represents a value of 6. |
| HasExclusiveBitSet | Include the object in the result if the property value has a single bit set. This enumeration member represents a value of 10. |
| HasNoBitSet | Include the object in the result if the property value has no bits set. This enumeration member represents a value of 7. |
| In | Include 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. |
| IsNotNull | Include the object in the result if the property value is not null. This enumeration member represents a value of 9. |
| IsNull | Include the object in the result if the property value is null. This enumeration member represents a value of 8. |
| LessThan | Include the object in the result if the property value is less than the filter value. This enumeration member represents a value of 2. |
| LessThanOrEqual | Include 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. |
| NotEqual | Include the object in the result if the property value is not equal to the filter value. This enumeration member represents a value of 5. |
| StartWith | Include 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 2012Target 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:
Community Additions
ADD
Show: