IScheduler::ConfigureJob method

Moves the job to the Configuring state.

Syntax

HRESULT ConfigureJob(
  [in] long id
);

Parameters

  • id [in]
    Identifies the job to move to the Configuring state.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

You can move the job to the Configuring state from only the following states (see JobState):

  • JobState_Canceled
  • JobState_Failed
  • JobState_Queued
  • JobState_Submitted

Typically, you would move a job back to the Configuring state if a task failed so that you can fix the task and run the job again. When the job is run again, all tasks in the job run regardless of their prior state.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::AddJob

IScheduler::CreateJob

IScheduler::CancelJob

IScheduler::OpenJob