SPMonthlySchedule.EndDay property

Gets or sets the day on which the schedule ends.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public int EndDay { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the ending day.

An exception is thrown if it is set to a value of less than 1 or greater than 31.