Open this page in the API Guide

ScheduleRule.DeleteSpecificDayOfWeek Method

Deletes the specific day of week from the SpecificDaysOfWeek collection.

Namespace:  Dundas.BI.Scheduling
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public bool DeleteSpecificDayOfWeek(
	DayOfWeek dayOfWeek
)

Parameters

dayOfWeek
Type: System.DayOfWeek
The day of the week.

Return Value

Type: Boolean
true if the day was successfully removed; otherwise, false. This method also returns false if the item was not found in the SpecificDaysOfWeek collection.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondayOfWeek is not one of the DayOfWeek values.
See Also