A Sandcastle Documented Class Library

# ScheduleRule AddDayOfMonth Method

Adds a day of month in repeatable day periods for the schedule.

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 AddDayOfMonth(
    	int dayOfMonth
    )

    Public Function AddDayOfMonth (
    	dayOfMonth As Integer
    ) As Boolean

    public:
    bool AddDayOfMonth(
    	int dayOfMonth
    )

    member AddDayOfMonth :
            dayOfMonth : int -> bool

#### Parameters

dayOfMonth
  Type: System
  Int32

#### Return Value

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

Exception | Condition
--- | ---
ArgumentOutOfRangeException | The value is less than 1 or greater than 31.

Remarks
The method adds a value to the list N in a "Day(s) N" pattern. This method is only considered when PatternType property is set to Monthly and MonthlyPatternKind is set to Day.
See Also

#### Reference

ScheduleRule Class
Dundas.BI.Scheduling Namespace