Share via


IClusterCounter::get_NumberOfReadyNodes method

Retrieves the number of ready nodes in the cluster.

Syntax

HRESULT get_NumberOfReadyNodes(
  [out] long *pRetVal
);

Parameters

  • pRetVal [out]
    The number of nodes in the cluster that are ready to run submitted jobs (nodes with the status NodeStatus_Ready).

Return value

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

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IClusterCounter