ISchedulerNode::NumberOfCores property

Retrieves the number of cores on the node.

This property is read-only.

Syntax

HRESULT get_NumberOfCores(
  [out] long *pNumCores
);

Property value

The number of cores.

Error codes

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

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

See also

ISchedulerNode

ISchedulerNode.NumberOfSockets