This documentation is archived and is not being maintained.
Schedule Class
Visual Studio 2013
Represents a build definition schedule.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
The Schedule type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TimeZoneId | Gets or sets the time zone ID. This value is used for applying daylight savings time rules. |
![]() | UtcDaysToBuild | Gets or sets the days, in Coordinated Universal Time (UTC), that the schedule should run. |
![]() | UtcStartTime | Gets or sets the offset past midnight, in seconds, that the schedule should run. |
| Name | Description | |
|---|---|---|
![]() | AdjustUtcStartTimeForDST | This method will adjust the start time for DST. We start with when the schedule was saved in UTC then we go down 2 paths: First path - is add the days since saved to the utc last modified (no DST taken into account) and then we localize. Second path - localize the utc last modified then add the days since saved (this will now adjust for DST). The second path - the the first path gives us any DST change and we add this to our scheduled time. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | (Overrides Object::ToString().) |
Show:
