This documentation is archived and is not being maintained.

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)

ScheduleDays GetScheduleDaysFromDaysOfWeek(
	array<DayOfWeek>^ weekdays
)

Parameters

weekdays
Type: array<System::DayOfWeek>

An array of DayOfWeek enumeration values.

Return Value

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

Show: