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

NodeEvent Enumeration

Defines when the node history event is raised.


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

'Usage
Dim instance As NodeEvent

[SerializableAttribute] 
public enum NodeEvent
/** @attribute SerializableAttribute() */ 
public enum NodeEvent
SerializableAttribute 
public enum NodeEvent

Member nameDescription
AddedWhen a user adds the node to the cluster. This enumeration member represents a value of 1.
AvailableWhen a node becomes available to run jobs, because of the availability policy settings or the end of user activity. This enumeration member represents a value of 8. This value is only supported for Windows HPC Server 2008 R2 with Service Pack 1 (SP1).
DrainingWhen the scheduler is in the process of removing jobs from the node. This enumeration member represents a value of 7.
NoneReserved. This enumeration member represents a value of 0.
OccupiedWhen a node becomes unavailable to run jobs, because of the availability policy settings or user activity. This enumeration member represents a value of 9. This value is only supported for Windows HPC Server 2008 R2 with Service Pack 1 (SP1).
OfflineWhen the node goes offline. This enumeration member represents a value of 4.
OnlineWhen the node goes online. This enumeration member represents a value of 3.
ReachableWhen the node becomes reachable. This enumeration member represents a value of 5.
RemovedWhen a user removes the node from the cluster. This enumeration member represents a value of 2.
UnReachableWhen the node is becomes unreachable. This enumeration member represents a value of 6.

To get node history, call the IScheduler.OpenNodeHistoryEnumerator method.

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 None = 0
const Added = 1
const Removed = 2
const Online = 3
const Offline = 4
const Reachable = 5
const Unreachable = 6
const Draining = 7
const Available = 8
const Occupied = 9

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