Share via


NodeStatus Enumeration

Defines the node status constants.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
<GuidAttribute("B113CE2D-CB21-423c-B691-255721B861B7")> _
Public Enumeration NodeStatus
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
[GuidAttribute("B113CE2D-CB21-423c-B691-255721B861B7")] 
public enum NodeStatus
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
[GuidAttribute(L"B113CE2D-CB21-423c-B691-255721B861B7")] 
public enum class NodeStatus
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("B113CE2D-CB21-423c-B691-255721B861B7") */ 
public enum NodeStatus
SerializableAttribute 
ComVisibleAttribute(true) 
GuidAttribute("B113CE2D-CB21-423c-B691-255721B861B7") 
public enum NodeStatus

Members

Member name Description
Paused The PauseNode method was called. No new jobs or tasks can be started while the node is paused, but existing jobs and tasks can still run. To resume the node, call the ResumeNode method. This enumeration member represents a value of 1.
PendingApproval Node approval is pending. To approve the node for addition to the cluster, call the ApproveNode method. This enumeration member represents a value of 3.
Ready The node is ready to run jobs. This enumeration member represents a value of 0.
Unreachable Communication with the node has been broken. This enumeration member represents a value of 2.

Remarks

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 Ready = 0
const Paused = 1
const Unreachable = 2
const PendingApproval = 3

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

Microsoft.ComputeCluster Namespace
INode.Status Property