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

'Declaration
Function AddSchedule As ISchedule
'Usage
Dim instance As IBuildDefinition 
Dim returnValue As ISchedule 

returnValue = instance.AddSchedule()
ISchedule AddSchedule()
ISchedule^ AddSchedule()
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

IBuildDefinition Members

Microsoft.TeamFoundation.Build.Client Namespace