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)

ISchedule^ AddSchedule()

Return Value

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

Show: