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 job from the cluster.
Syntax
HRESULT GetJob(
  [in]  long jobId,
  [out] IJob **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.
- pRetVal [out] 
 An IJob interface that represents the specified job.
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 |