Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The state of job
public enum JobState
type JobState =
Public Enum JobState
The job is available to have tasks scheduled.
All tasks have terminated, and the system will not accept any more tasks or any further changes to the job.
A user has requested that the job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running tasks).
A user has disabled the job. No tasks are running, and no new tasks will be scheduled.
A user has requested that the job be disabled, but the disable operation is still in progress (for example, waiting for tasks to terminate).
A user has requested that the job be enabled, but the enable operation is still in progress.
The job is about to complete, either because a Job Manager task has completed or because the user has terminated the job, but the terminate operation is still in progress (for example, because Job Release tasks are running).