Calendar class
Includes methods for managing calendar exceptions in Project Server.
Inheritance hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
WebSvcCalendar.Calendar
Namespace: WebSvcCalendar
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
<WebServiceBindingAttribute(Name := "CalendarSoap", Namespace := "https://schemas.microsoft.com/office/project/server/webservices/Calendar/")> _
Public Class Calendar _
Inherits SoapHttpClientProtocol
'Usage
Dim instance As Calendar
[WebServiceBindingAttribute(Name = "CalendarSoap", Namespace = "https://schemas.microsoft.com/office/project/server/webservices/Calendar/")]
public class Calendar : SoapHttpClientProtocol
Remarks
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.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.