This documentation is archived and is not being maintained.

IBuildDefinition.AddSchedule Method

Adds a schedule to the list of schedules for the build definition. The schedule has no effect if the ContinuousIntegrationType is not Schedule. Only one schedule is accepted in the list.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

function AddSchedule() : ISchedule

Return Value

Type: Microsoft.TeamFoundation.Build.Client.ISchedule
Returns the ISchedule that was added.