Adds the specified job to the cluster.
- job [in]
An ISchedulerJob interface of the job to add to the cluster. The properties in the interface are updated when the job is added. For example, the Id property is updated with the identifier that the scheduler assigns to the job.
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
To create a job, call the IScheduler::CreateJob method. After setting the job properties and adding the tasks to the job, call the IScheduler::SubmitJob method to add the job to the scheduling queue. Note that you can call SubmitJob without calling AddJob in which case SubmitJob will add the job to the scheduler if it has not already been added.
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities