Calendar.DeleteCalendars 方法
會刪除指定的企業行事曆。
命名空間: WebSvcCalendar
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<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() _
)
'用途
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
)
參數
calendarGuids
類型:[]若要刪除的行事曆的 Guid。
備註
DeleteCalendars方法可以刪除一或多個企業行事曆。行事曆可以包含例外狀況。
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者管理企業行事曆。通用權限。 |