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 权限
权限 |
说明 |
---|---|
允许用户管理企业日历。全局权限。 |