A Sandcastle Documented Class Library

# ScheduleRule DayOfWeek Property

Gets or sets the day of the week for the schedule used in a "The [First] [Monday] of [January, February...]" pattern.

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 DayOfWeek DayOfWeek { get; set; }

    Public Property DayOfWeek As DayOfWeek
    	Get
    	Set

    public:
    property DayOfWeek DayOfWeek {
    	DayOfWeek get ();
    	void set (DayOfWeek value);
    }

    member DayOfWeek : DayOfWeek with get, set

#### Property Value

Type: DayOfWeek
The day of the week.
Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | The value is being set is not one of the DayOfWeek values.

Remarks
The property defines the day of week in "The [First] [Monday] of [January, February...]" pattern. When a schedule is created, this property is set to Monday by default. This property is only considered when PatternType property is set to Monthly and MonthlyPatternKind property is set to NthSpecificDay.
See Also

#### Reference

ScheduleRule Class
Dundas.BI.Scheduling Namespace