Table of contents
API
TOC
Collapse the table of content
Expand the table of content

CalendarException class

Nadin Merali|Last Updated: 5/6/2017

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.NETJSOMRESTTypeDescription
CalendarCalendarGets the name of the calendar that is associated with the exception.
FinishDateTimeGets the date and time that the calendar exception ends.
Id✓ʷ✓ʷ✓ʷIntegerGets or sets the object identifier as an index into the collection of calendar exceptions.
NameStringGets the name of the exception, such as Vacation.
RecurrenceDaysCalendarRecurrenceDaysGets a mask that represents the days of the week on which the calendar exception is effective.
RecurrenceFrequencyIntegerGets the interval at which the calendar exception occurs.
RecurrenceMonthIntegerGets the month value when setting a yearly recurrence.
RecurrenceMonthDayIntegerGets the day of the month when setting a yearly recurrence.
RecurrenceTypeCalendarRecurrenceTypeGets the recurrence type for the calendar exception.
RecurrenceWeekCalendarRecurrenceWeekGets the week number of a monthly occurrence.
Shift1FinishIntegerGets the minute of the day that the first shift ends.
Shift1StartIntegerGets the minute of the day that the first shift starts.
Shift2FinishIntegerGets the minute of the day that the second shift ends.
Shift2StartIntegerGets the minute of the day that the second shift starts.
Shift3FinishIntegerGets the minute of the day that the third shift ends.
Shift3StartIntegerGets the minute of the day that the third shift starts.
Shift4FinishIntegerGets the minute of the day that the fourth shift ends.
Shift4StartIntegerGets the minute of the day that the fourth shift starts.
Shift5FinishIntegerGets the minute of the day that the fifth shift ends.
Shift5StartIntegerGets the minute of the day that the fifth shift starts.
StartDateTimeGets the time and date of the start of the calendar exception.

Methods

Name.NETJSOMRESTReturn TypeDescription
DeleteObject()voidDeletes 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

© 2018 Microsoft