Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

'Usage
Dim instance As SchedulerCoreState

[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 nameDescription
BusyThe core is running a job or task. This enumeration member represents a value of 2.
DrainingThe 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.
IdleThe core is idle and ready to run a job. This enumeration member represents a value of 1.
OfflineThe core is offline. This enumeration member represents a value of 0.
ReservedThe 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 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:
© 2015 Microsoft