言語

ReportingService2010.DeleteSubscription(String) メソッド

定義

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

public:
 void DeleteSubscription(System::String ^ SubscriptionID);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSubscription", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void DeleteSubscription(string SubscriptionID);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSubscription", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.DeleteSubscription : string -> unit
Public Sub DeleteSubscription (SubscriptionID As String)

パラメーター

属性

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダーの使用 (イン) TrustedUserHeaderValue

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 DeleteSubscription または DeleteAnySubscription
SharePointモードの必要権限 <xref:Microsoft.SharePoint.SPBasePermissions.ManageAlerts> または(<xref:Microsoft.SharePoint.SPBasePermissions.CreateAlerts> 、ユーザーがサブスクリプションの所有者であり、サブスクリプションがスケジュールされたサブスクリプションであること)

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

適用対象