Calendar class

Office 2013 and later

Includes methods for managing calendar exceptions in Project Server.

Namespace:  WebSvcCalendar
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

[WebServiceBindingAttribute(Name = "CalendarSoap", Namespace = "")]
public class Calendar : SoapHttpClientProtocol

The Calendar class methods support only calendar exceptions for enterprise resources, not all enterprise calendar functionality in Project Server. You can add and update time off for Project Server resources as calendar exceptions.

Work weeks in enterprise calendars are not normalized in the Published database. Work week information is stored as binary data, so there are no direct queries available to load all calendar information to a CalendarDataSet object.

To manage other features of enterprise calendars, use Microsoft Project Professional.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.