ISchedulerNode::State property

Retrieves the current state of the node.

This property is read-only.

Syntax

HRESULT get_State(
  [out] NodeState *pState
);

Property value

The state of the node. For possible values, see the NodeState enumeration.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Examples

For an example, see Getting a List of Nodes in the Cluster.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerNode