次の方法で共有


ReportingService2005.DeleteSubscription メソッド

サブスクリプションをレポート サーバー データベースから削除します。

名前空間:  ReportService2005
アセンブリ:  ReportService2005 (ReportService2005.dll)

構文

'宣言
Public Sub DeleteSubscription ( _
    SubscriptionID As String _
)
'使用
Dim instance As ReportingService2005 
Dim SubscriptionID As String

instance.DeleteSubscription(SubscriptionID)
public void DeleteSubscription(
    string SubscriptionID
)
public:
void DeleteSubscription(
    String^ SubscriptionID
)
member DeleteSubscription : 
        SubscriptionID:string -> unit
public function DeleteSubscription(
    SubscriptionID : String
)

パラメーター

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダー

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

必要な権限

DeleteSubscription またはDeleteAnySubscription

SubscriptionID パラメーターで指定したサブスクリプションを削除するには、そのサブスクリプションに関連付けられているレポートに対するサブスクリプションの削除権限を持っている必要があります。

レポート サーバー データベース内の現在のサブスクリプションの一覧を取得するには、ListSubscriptions メソッドを使用します。

標準サブスクリプションとデータ ドリブン サブスクリプションのどちらを削除する場合にもこのメソッドを使用します。

関連項目

参照

ReportingService2005 クラス

ReportService2005 名前空間