Calendar.DeleteCalendars Method

Deletes the specified enterprise calendars.

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
<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

Calendar Web Service