SchedulerCoreState Enumeration
Defines the state of a core on a node in the cluster.
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
[ComVisibleAttribute(true)] [GuidAttribute("CEBF8417-6664-4c4a-A1EE-101F924CFE21")] public enum SchedulerCoreState
/** @attribute ComVisibleAttribute(true) */
/** @attribute GuidAttribute("CEBF8417-6664-4c4a-A1EE-101F924CFE21") */
public enum SchedulerCoreState
ComVisibleAttribute(true) GuidAttribute("CEBF8417-6664-4c4a-A1EE-101F924CFE21") public enum SchedulerCoreState
| Member name | Description |
|---|---|
| Busy | The core is running a job or task. This enumeration member represents a value of 2. |
| Draining | The core is running a job but is marked to be taken offline after the current job finishes. This enumeration member represents a value of 3. |
| Idle | The core is idle and ready to run a job. This enumeration member represents a value of 1. |
| Offline | The core is offline. This enumeration member represents a value of 0. |
| Reserved | The core is reserved for a job. 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 = 0 const idle = 1 const busy = 2 const draining = 3 const reserved = 4
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: