The Calendar class is the primary class in the WebSvcCalendar namespace. The Calendar class includes methods to manage exceptions in enterprise calendars.
备注
In the ASMX web service, Calendar is a class. In the WCF service, Calendar is an interface that is implemented in the CalendarClient class. For information about using the CalendarClient class in a WCF-based application, see the Calendar class constructor.
The WebSvcCalendar namespace is an arbitrary name for a reference to the Calendar.asmx web service (or the Calendar.svc service) of the Project Server Interface (PSI).
Methods in the Calendar class can:
Check out and check in an enterprise calendar.
List all enterprise calendars.
Create or delete enterprise calendars with exceptions, or update calendar exceptions in a specific calendar.
To manage other calendar features, use Microsoft Project Professional 2013.
Calendar methods typically use or return a CalendarDataSet object.
类
| 类 | 说明 | |
|---|---|---|
![]() |
Calendar | 包含用于管理 Project Server 中的日历例外的方法。 |
![]() |
CalendarDataSet | 维护用于管理项目的日历信息的集合。 |
![]() |
CalendarDataSet.CalendarExceptionsDataTable | 提供表管理方法和类的信息,包括方法、 扩展名、 属性和字段,与索引 ;提供CalendarDataSet.CalendarExceptionsRow数据的行和列的操作。 |
![]() |
CalendarDataSet.CalendarExceptionsRow | 指示由CAL_UID属性所标识的基于日历的资源的可用性。 |
![]() |
CalendarDataSet.CalendarExceptionsRowChangeEvent | 在CalendarExceptionsRow中的数据发生更改时引发的事件。 |
![]() |
CalendarDataSet.CalendarsDataTable | 提供表的管理方法和类信息,包括方法、 扩展名、 属性和CalendarDataSet.CalendarsRow数据的其他信息。 |
![]() |
CalendarDataSet.CalendarsRow | 包含的日历配置信息的行。 |
![]() |
CalendarDataSet.CalendarsRowChangeEvent | 在CalendarsRow中的数据发生更改时引发的事件。 |
委托
| 委托 | 说明 | |
|---|---|---|
![]() |
CalendarDataSet.CalendarExceptionsRowChangeEventHandler | 表示处理对CalendarDataSet.CalendarExceptionsRow数据执行操作时发生的事件的方法。 |
![]() |
CalendarDataSet.CalendarsRowChangeEventHandler | 表示处理对CalendarDataSet.CalendarsRow数据执行操作时发生的事件的方法。 |
.gif)
.gif)