Show / Hide Table of Contents

    Class JobSchedule

    Scheduling properties of a job.

    Inheritance
    Object
    JobSchedule
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public class JobSchedule

    Constructors

    JobSchedule()

    Initializes a new instance of the JobSchedule class.

    Declaration
    public JobSchedule ();

    JobSchedule(Nullable<DateTime>, Nullable<DateTime>, Nullable<JobScheduleType>, Nullable<Boolean>, String)

    Initializes a new instance of the JobSchedule class.

    Declaration
    public JobSchedule (Nullable<DateTime> startTime = null, Nullable<DateTime> endTime = null, Nullable<Microsoft.Azure.Management.Sql.Models.JobScheduleType> type = null, Nullable<bool> enabled = null, string interval = null);
    Parameters
    Nullable<DateTime> startTime

    Schedule start time.

    Nullable<DateTime> endTime

    Schedule end time.

    Nullable<JobScheduleType> type

    Schedule interval type. Possible values include: 'Once', 'Recurring'

    Nullable<Boolean> enabled

    Whether or not the schedule is enabled.

    String interval

    Value of the schedule's recurring interval, if the schedule type is recurring. ISO8601 duration format.

    Properties

    Enabled

    Gets or sets whether or not the schedule is enabled.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="enabled")]
    public Nullable<bool> Enabled { get; set; }
    Property Value
    Nullable<Boolean>

    EndTime

    Gets or sets schedule end time.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="endTime")]
    public Nullable<DateTime> EndTime { get; set; }
    Property Value
    Nullable<DateTime>

    Interval

    Gets or sets value of the schedule's recurring interval, if the schedule type is recurring. ISO8601 duration format.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="interval")]
    public string Interval { get; set; }
    Property Value
    String

    StartTime

    Gets or sets schedule start time.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="startTime")]
    public Nullable<DateTime> StartTime { get; set; }
    Property Value
    Nullable<DateTime>

    Type

    Gets or sets schedule interval type. Possible values include: 'Once', 'Recurring'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="type")]
    public Nullable<Microsoft.Azure.Management.Sql.Models.JobScheduleType> Type { get; set; }
    Property Value
    Nullable<JobScheduleType>

    Back to top Azure SDK for Net