Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the counter data for the task.
Syntax
HRESULT GetCounters(
  [out] ISchedulerTaskCounters **pCounters
);
Parameters
- pCounters [out]
 An ISchedulerTaskCounters interface that contains the counter data for the task.
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, access the ErrorMessage task property.
Requirements
| Product | HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities | 
| Type library | Microsoft.Hpc.Scheduler.tlb |