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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.