다음을 통해 공유


JobState Enum

Definition

The state of job

public enum JobState
type JobState = 
Public Enum JobState
Inheritance
JobState

Fields

Name Value Description
Active 0

The job is available to have tasks scheduled.

Disabling 1

A user has requested that the job be disabled, but the disable operation is still in progress (for example, waiting for tasks to terminate).

Disabled 2

A user has disabled the job. No tasks are running, and no new tasks will be scheduled.

Enabling 3

A user has requested that the job be enabled, but the enable operation is still in progress.

Terminating 4

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).

Completed 5

All tasks have terminated, and the system will not accept any more tasks or any further changes to the job.

Deleting 6

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).

Applies to