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
- 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.