共用方式為


JobScheduleState Enum

Definition

Defines values for JobScheduleState.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum JobScheduleState
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type JobScheduleState = 
Public Enum JobScheduleState
Inheritance
JobScheduleState
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

Name Value Description
Active 0

The Job Schedule is active and will create Jobs as per its schedule.

Completed 1

The Job Schedule has terminated, either by reaching its end time or by the user terminating it explicitly.

Disabled 2

The user has disabled the Job Schedule. The scheduler will not initiate any new Jobs will on this schedule, but any existing active Job will continue to run.

Terminating 3

The Job Schedule has no more work to do, or has been explicitly terminated by the user, but the termination operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, nor is any existing Job active.

Deleting 4

The user has requested that the Job Schedule be deleted, but the delete operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, and will delete any existing Jobs and Tasks under the Job Schedule, including any active Job. The Job Schedule will be deleted when all Jobs and Tasks under the Job Schedule have been deleted.

Applies to