次の方法で共有


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メソッドは、1 つまたは複数のエンタープライズ カレンダーを削除できます。カレンダーの例外を含めることができます。

プロジェクト サーバーのアクセス許可

権限

説明

ManageEnterpriseCalendars

エンタープライズ カレンダーを管理することができます。グローバル アクセス権。

関連項目

参照先

Calendar クラス

Calendar メンバー

WebSvcCalendar 名前空間