ISchedulerNode::GetCores method
Retrieves the state information for each core on the node.
Syntax
HRESULT GetCores(
[out] ISchedulerCollection **pCores
);
Parameters
- pCores [out]
An ISchedulerCollection interface that contains a collection of core objects. Each item in the collection is a variant of type VT_DISPATCH. Query the pdispVal member of the variant for the ISchedulerCore interface.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Remarks
The core information is a snapshot of the core at the time the call was made.
Examples
For an example, see Getting a List of Nodes in the Cluster.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |