Share via


IClusterCounter::get_NumberOfRunningTasks method

Retrieves the number of running tasks.

Syntax

HRESULT get_NumberOfRunningTasks(
  [out] long *pRetVal
);

Parameters

  • pRetVal [out]
    The number of running tasks (tasks with the status TaskStatus_Running).

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