A Sandcastle Documented Class Library

# ScheduleRule AddSpecificDayOfWeek Method

Adds the specific day of week to the SpecificDaysOfWeek collection.

Namespace: Dundas.BI.Scheduling
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public bool AddSpecificDayOfWeek(
    	DayOfWeek dayOfWeek
    )

    Public Function AddSpecificDayOfWeek (
    	dayOfWeek As DayOfWeek
    ) As Boolean

    public:
    bool AddSpecificDayOfWeek(
    	DayOfWeek dayOfWeek
    )

    member AddSpecificDayOfWeek :
            dayOfWeek : DayOfWeek -> bool

#### Parameters

dayOfWeek
  Type: System
  DayOfWeek
  The day of the week.

#### Return Value

Type: Boolean
if the add was successful or
if the item already exists.
Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | dayOfWeek is not one of the DayOfWeek values.

See Also

#### Reference

ScheduleRule Class
Dundas.BI.Scheduling Namespace
ScheduleRule
SpecificDaysOfWeek