IResourceUsage::get_NumberOfProcesses method

Retrieves the number of processes being used by the job or task.

Syntax

HRESULT get_NumberOfProcesses(
  [out] long *pRetVal
);

Parameters

  • pRetVal [out]
    The number of processes.

Return value

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

Remarks

Use this value only when the status of the job or task is Running.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IResourceUsage