Retrieving Calendar Exceptions

Retrieving Calendar Exceptions

The Calendar class exposes the Exceptions property which represents a list of CalendarException objects. The FromDate and ToDate properties exposed by CalendarException are used to retrieve dates for calendar exceptions. Both of these properties support the DateTime datatype.

The following code example demonstrates how to retrieves calendar exceptions.