NodeAvailability Enumeration

Defines values that indicate whether a node is available to run jobs, or than unavailable to run jobs because of user activity or the availability policy.


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

'Usage
Dim instance As NodeAvailability

[SerializableAttribute] 
[FlagsAttribute] 
[ComVisibleAttribute(true)] 
[GuidAttribute("13EBEC8D-908C-48b9-9817-0CC0B524698B")] 
public enum NodeAvailability
/** @attribute SerializableAttribute() */ 
/** @attribute FlagsAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("13EBEC8D-908C-48b9-9817-0CC0B524698B") */ 
public enum NodeAvailability
SerializableAttribute 
FlagsAttribute 
ComVisibleAttribute(true) 
GuidAttribute("13EBEC8D-908C-48b9-9817-0CC0B524698B") 
public enum NodeAvailability

Member nameDescription
AllRepresents the bitwise-OR combination of the AlwaysOn, Available and Occupied values. This enumeration member represents a value of 7.
AlwaysOnIndicates that the availability of the node to run jobs is not affected by user activity or settings in an availability policy, because an availability policy is not configured for the node. This enumeration member represents a value of 1.
AvailableIndicates that node is currently available to run jobs, but could become unavailable because of user activity or settings in the availability policy for the node. This enumeration member represents a value of 2.
OccupiedIndicates that node is currently not available to run jobs, because of user activity on the node or settings in the availability policy for the node. This enumeration member represents a value of 4.

The values in this enumeration are primarily used to indicate if workstation nodes are available to run jobs, or unavailable because a user is active on the workstation or because of settings in the availability policy.

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 AlwaysOn = 1
const Available = 2
const Occupied = 4
const All = 7

Platform Note: This enumeration was introduced in Windows HPC Server 2008 R2 with Service Pack 1 (SP1) and is not supported in previous versions.


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: