IClusterCounter::get_TotalNumberOfJobs method
Retrieves the number of jobs in the cluster.
Syntax
HRESULT get_TotalNumberOfJobs(
[out] long *pRetVal
);
Parameters
- pRetVal [out]
The number of jobs 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 jobs that are added to the cluster using ICluster::AddJob, ICluster::SubmitJob, or ICluster::QueueJob (or their plural equivalents).
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |