ITaskId::InstanceId property
Retrieves the instance identifier of a parametric task.
This property is read-only.
Syntax
HRESULT get_InstanceId(
[out] long *pInstanceId
);
Property value
The instance 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 the instance identifier with the JobTaskId identifier to create a display identifier for the task (for example, JobTaskId.InstanceId).
Use this property only if the ISchedulerTask.IsParametric property is VARIANT_TRUE.
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 |