IScheduler::CreateParametricTaskId method

Creates a task identifier that identifies an instance of a parametric task.

Syntax

HRESULT CreateParametricTaskId(
  [in]  long    jobTaskId,
  [in]  long    instanceId,
  [out] ITaskId **pTaskId
);

Parameters

  • jobTaskId [in]
    A sequential, numeric identifier that uniquely identifies the parametric task within the job. Task identifiers begin with "1".

  • instanceId [in]
    A sequential, numeric identifier that uniquely identifies the instance of a parametric task.

  • pTaskId [out]
    An ITaskId interface that identifies the instance of a parametric task.

Return value

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

Remarks

To create a task identifier object that identifies a task or parametric task, call the IScheduler::CreateTaskId method.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::CreateTaskId