NodeState Enumeration
Defines the state of the node.
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)
[SerializableAttribute] [ComVisibleAttribute(true)] [FlagsAttribute] [GuidAttribute("534F6FEC-A629-40C8-8AC0-4BEB0667B305")] public enum NodeState
/** @attribute SerializableAttribute() */
/** @attribute ComVisibleAttribute(true) */
/** @attribute FlagsAttribute() */
/** @attribute GuidAttribute("534F6FEC-A629-40C8-8AC0-4BEB0667B305") */
public enum NodeState
SerializableAttribute ComVisibleAttribute(true) FlagsAttribute GuidAttribute("534F6FEC-A629-40C8-8AC0-4BEB0667B305") public enum NodeState
| Member name | Description |
|---|---|
| All | All states are set. This enumeration member represents a value of 7. |
| Draining | The scheduler is in the process of removing jobs from the node. This enumeration member represents a value of 2. |
| Offline | The node is offline. This enumeration member represents a value of 1. |
| Online | The node is online and ready to run jobs. This enumeration member represents a value of 4. |
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 Offline = 1 const Draining = 2 const Online = 4 const All = 7
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: