Поделиться через


Calendar Class

Includes methods for managing calendar exceptions in Microsoft Office Project Server 2007.

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:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "CalendarSoap", Namespace := "http://schemas.microsoft.com/office/project/server/webservices/Calendar/")> _
Public Class Calendar _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Calendar
[WebServiceBindingAttribute(Name = "CalendarSoap", Namespace = "http://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 Office Project Professional 2007.

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

WebSvcCalendar Namespace