CalendarException class
inherits members from ClientObject
Represents a difference (an exception) from the base calendar.
Syntax
CSOM
class CalendarException
JSOM
PS.CalendarException
REST Interface
Supported.
PS.CalendarException
http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Calendars('{calendarid}')/BaseCalendarExceptions('{calendarExceptionId'})
Members
✓ - Read Support ✓ʷ - Write Support
Properties
Name | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
Calendar | ✓ | ✓ | ✓ | Calendar | Gets the name of the calendar that is associated with the exception. |
Finish | ✓ | ✓ | ✓ | DateTime | Gets the date and time that the calendar exception ends. |
Id | ✓ʷ | ✓ʷ | ✓ʷ | Integer | Gets or sets the object identifier as an index into the collection of calendar exceptions. |
Name | ✓ | ✓ | ✓ | String | Gets the name of the exception, such as Vacation. |
RecurrenceDays | ✓ | ✓ | ✓ | CalendarRecurrenceDays | Gets a mask that represents the days of the week on which the calendar exception is effective. |
RecurrenceFrequency | ✓ | ✓ | ✓ | Integer | Gets the interval at which the calendar exception occurs. |
RecurrenceMonth | ✓ | ✓ | ✓ | Integer | Gets the month value when setting a yearly recurrence. |
RecurrenceMonthDay | ✓ | ✓ | ✓ | Integer | Gets the day of the month when setting a yearly recurrence. |
RecurrenceType | ✓ | ✓ | ✓ | CalendarRecurrenceType | Gets the recurrence type for the calendar exception. |
RecurrenceWeek | ✓ | ✓ | ✓ | CalendarRecurrenceWeek | Gets the week number of a monthly occurrence. |
Shift1Finish | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the first shift ends. |
Shift1Start | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the first shift starts. |
Shift2Finish | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the second shift ends. |
Shift2Start | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the second shift starts. |
Shift3Finish | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the third shift ends. |
Shift3Start | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the third shift starts. |
Shift4Finish | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the fourth shift ends. |
Shift4Start | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the fourth shift starts. |
Shift5Finish | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the fifth shift ends. |
Shift5Start | ✓ | ✓ | ✓ | Integer | Gets the minute of the day that the fifth shift starts. |
Start | ✓ | ✓ | ✓ | DateTime | Gets the time and date of the start of the calendar exception. |
Methods
Name | .NET | JSOM | REST | Return Type | Description |
---|---|---|---|---|---|
DeleteObject() | ✓ | ✓ | ✓ | void | Deletes the calendar exception object. |
#### Method Details
DeleteObject()
Deletes the calendar exception object.
Syntax
void DeleteObject()
Parameters
None
Return Value
void
See Also
BaseCalendarException
CalendarExceptionCollection
CalendarExceptionCreationInformation
ResourceCalendarException