Calendar.CreateCalendars method
Creates enterprise calendars that can include exceptions.
Namespace: WebSvcCalendar
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/CreateCalendars", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Calendar/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Calendar/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub CreateCalendars ( _
calendarDataSet As CalendarDataSet, _
validateOnly As Boolean, _
autoCheckIn As Boolean _
)
'Usage
Dim instance As Calendar
Dim calendarDataSet As CalendarDataSet
Dim validateOnly As Boolean
Dim autoCheckIn As Boolean
instance.CreateCalendars(calendarDataSet, _
validateOnly, autoCheckIn)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/CreateCalendars", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Calendar/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Calendar/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void CreateCalendars(
CalendarDataSet calendarDataSet,
bool validateOnly,
bool autoCheckIn
)
Parameters
calendarDataSet
Type: WebSvcCalendar.CalendarDataSetA CalendarDataSet that specifies the calendars and exceptions that are being created.
validateOnly
Type: System.BooleanActs as a test to check that the data is valid, but does not complete the checkin.
autoCheckIn
Type: System.BooleanIf True, the newly created calendar is automatically checked in.
Remarks
The CreateCalendars method can create one or more enterprise calendars. The calendar can include exceptions, as specified in the CalendarDataSet object.
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to manage enterprise calendars. Global permission. |