Calendar.DeleteCalendars - Méthode
Supprime les calendriers d'entreprise spécifié.
Espace de noms : WebSvcCalendar
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<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() _
)
'Utilisation
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
)
Paramètres
calendarGuids
Type : []Les GUID des calendriers à supprimer.
Remarques
La méthode DeleteCalendars peut supprimer un ou plusieurs calendriers d'entreprise. Les calendriers peuvent contenir des exceptions.
Autorisations Project Server
Autorisation |
Description |
---|---|
Permet à un utilisateur de gérer les calendriers d'entreprise. Autorisation globale. |