Share via


ITaskId::JobTaskId property

Retrieves the sequential identifier that identifies the task in the job.

This property is read-only.

Syntax

HRESULT get_JobTaskId(
  [out] long *pJobTaskId
);

Property value

The display task identifier.

Error codes

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

Remarks

Typically, you use this identifier for display. If the task is a parametric task, you use this identifier with the InstanceId identifier to create a display identifier for the task (for example, JobTaskId.InstanceId).

Examples

For an example, see Cloning a Job.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.Properties.tlb

See also

ITaskId