ReportingService2010.DeleteSubscription(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
レポートサーバーのデータベースからサブスクリプションを削除します。
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)
パラメーター
- SubscriptionID
- String
CreateSubscription(String, ExtensionSettings, String, String, String, ParameterValue[])方法で返された購読IDです。
- 属性
注釈
以下の表は、この操作のヘッダーおよび権限情報を示しています。
| SOAPヘッダーの使用 | (イン) TrustedUserHeaderValue (アウト) ServerInfoHeaderValue |
| ネイティブモードの必要権限 | DeleteSubscription または DeleteAnySubscription |
| SharePointモードの必要権限 | <xref:Microsoft.SharePoint.SPBasePermissions.ManageAlerts> または(<xref:Microsoft.SharePoint.SPBasePermissions.CreateAlerts> 、ユーザーがサブスクリプションの所有者であり、サブスクリプションがスケジュールされたサブスクリプションであること) |
SubscriptionIDパラメータで指定されたサブスクリプションを削除するには、ユーザーがサブスクリプションに関連付けられたレポートに対して「サブスクリプション削除」権限を持つ必要があります。