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 the identifier of the job that contains the task whose state has changed.
This property is read-only.
Syntax
HRESULT get_JobId(
  [out] long *pJobId
);
Property value
The job identifier.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Remarks
Use the job identifier when calling the IScheduler::OpenJob method to get an interface to the job.
Examples
For an example, see Implementing the Event Handlers for Job Events in C++.
Requirements
| Product | HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities | 
| Type library | Microsoft.Hpc.Scheduler.tlb |