A Sandcastle Documented Class Library

# ScheduleRule AddSpecificMonth Method

Adds the specific month to the SpecificMonths 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 AddSpecificMonth(
    	int monthNumber
    )

    Public Function AddSpecificMonth (
    	monthNumber As Integer
    ) As Boolean

    public:
    bool AddSpecificMonth(
    	int monthNumber
    )

    member AddSpecificMonth :
            monthNumber : int -> bool

#### Parameters

monthNumber
  Type: System
  Int32
  The month number. Only values from 1 to 12 are allowed.

#### 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 12.

See Also

#### Reference

ScheduleRule Class
Dundas.BI.Scheduling Namespace
ScheduleRule
SpecificMonths