IBuildServer.GetScheduleDaysFromDaysOfWeek Method

Takes an array of DayOfWeek enumeration values and returns a ScheduleDays value that can be used to set ISchedule.DaysToBuild.

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

Syntax

'Declaration
Function GetScheduleDaysFromDaysOfWeek ( _
    weekdays As DayOfWeek() _
) As ScheduleDays
ScheduleDays GetScheduleDaysFromDaysOfWeek(
    DayOfWeek[] weekdays
)
ScheduleDays GetScheduleDaysFromDaysOfWeek(
    array<DayOfWeek>^ weekdays
)
abstract GetScheduleDaysFromDaysOfWeek : 
        weekdays:DayOfWeek[] -> ScheduleDays 
function GetScheduleDaysFromDaysOfWeek(
    weekdays : DayOfWeek[]
) : ScheduleDays

Parameters

  • weekdays
    Type: array<System.DayOfWeek[]
    An array of DayOfWeek enumeration values.

Return Value

Type: Microsoft.TeamFoundation.Build.Client.ScheduleDays
The corresponding ScheduleDays value.

.NET Framework Security

See Also

Reference

IBuildServer Interface

Microsoft.TeamFoundation.Build.Client Namespace