Compartilhar via


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)

Syntax

'Declaração
Function AddSchedule As ISchedule
ISchedule AddSchedule()
ISchedule^ AddSchedule()
abstract AddSchedule : unit -> ISchedule 
function AddSchedule() : ISchedule

Return Value

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

.NET Framework Security

See Also

Reference

IBuildDefinition Interface

Microsoft.TeamFoundation.Build.Client Namespace