Export (0) Print
Expand All
Expand Minimize

NodeState Enumeration

Defines the state of the node.


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

'Usage
Dim instance As NodeState

[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 nameDescription
AllAll states are set. This enumeration member represents a value of 7.
DrainingThe scheduler is in the process of removing jobs from the node. This enumeration member represents a value of 2.
OfflineThe node is offline. This enumeration member represents a value of 1.
OnlineThe 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 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:
© 2014 Microsoft