Condividi tramite


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
            [Calendar Web service].Calendar

Namespace:  [Calendar Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Calendar.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Calendar.asmx?wsdl

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.

See Also

Reference

Calendar Members

Calendar Web Service