Edit

Share via


Schedule Class

Definition

[System.Runtime.Serialization.DataContract]
public sealed class Schedule : Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
type Schedule = class
    inherit BaseSecuredObject
Public NotInheritable Class Schedule
Inherits BaseSecuredObject
Inheritance
Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
Schedule
Attributes

Constructors

Schedule()

Properties

BranchFilters

Branches that the schedule affects

DaysToBuild

Days for a build (flags enum for days of the week)

ScheduleJobId

The Job Id of the Scheduled job that will queue the scheduled build. Since a single trigger can have multiple schedules and we want a single job to process a single schedule (since each schedule has a list of branches to build), the schedule itself needs to define the Job Id. This value will be filled in when a definition is added or updated. The UI does not provide it or use it.

ScheduleOnlyWithChanges

Flag to determine if this schedule should only build if the associated source has been changed.

StartHours

Local timezone hour to start

StartMinutes

Local timezone minute to start

TimeZoneId

Time zone of the build schedule (String representation of the time zone ID)

Applies to