Share via


ICluster::get_ClusterCounter method

Retrieves counter information for the cluster.

Syntax

HRESULT get_ClusterCounter(
  [out]  IClusterCounter **pRetVal
);

Parameters

  • pRetVal [out]
    An IClusterCounter interface that contains information about the jobs, tasks, and nodes in the cluster. For example, the counters can indicate the number of jobs that are running or that have finished.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, call the ICluster::get_ErrorMessage method.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ICluster

ICluster::GetJobCounter

ICluster::GetJobResourceUsage