Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a task from the specified job.
Syntax
HRESULT GetTask(
[in] long jobId,
[in] long taskId,
[out] ITask **pRetVal
);
Parameters
jobId [in]
The job identifier. The ICluster::AddJob method returns this value. If you have an instance of the job that has already been added to the cluster, you can call the IJob::get_Id method to get the identifier.taskId [in]
The task identifier. The ITask::get_Id method returns this value.pRetVal [out]
An ITask interface that represents the specified task.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, call the ICluster::get_ErrorMessage method.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |