IClusterCounter::get_TotalNumberOfTasks method
Retrieves the number of tasks in the cluster.
Syntax
HRESULT get_TotalNumberOfTasks(
[out] long *pRetVal
);
Parameters
- pRetVal [out]
The number of tasks in the cluster.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Remarks
The count includes those tasks contained in jobs that have been added to the cluster using ICluster::AddJob, ICluster::SubmitJob, or ICluster::QueueJob (or their plural equivalents). The count does not include tasks that are executed as commands.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |