Share via


ISchedulerCore::TaskId property

Retrieves the identifier of the task running on the core.

This property is read-only.

Syntax

HRESULT get_TaskId(
  [out] ITaskId **pTaskId
);

Property value

An ITaskId interface that contains the identifiers that uniquely identify the task running on the core. The identifiers are zero if there is no task running on the core.

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

ISchedulerCore