Share via


Calendar.DeleteCalendars method

Deletes the specified enterprise calendars.

Namespace:  WebSvcCalendar
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/DeleteCalendars", 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 DeleteCalendars ( _
    calendarGuids As Guid() _
)
'Usage
Dim instance As Calendar
Dim calendarGuids As Guid()

instance.DeleteCalendars(calendarGuids)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/DeleteCalendars", 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 DeleteCalendars(
    Guid[] calendarGuids
)

Parameters

  • calendarGuids
    Type: []

    The GUIDs of the calendars to delete.

Remarks

The DeleteCalendars method can delete one or more enterprise calendars. The calendars can include exceptions.

Project Server Permissions

Permission

Description

ManageEnterpriseCalendars

Allows a user to manage enterprise calendars. Global permission.

See also

Reference

Calendar class

Calendar members

WebSvcCalendar namespace