ReportingService2010.DeleteSubscription Method
SQL Server 2008 R2
Deletes a subscription from the report server database.
Assembly: ReportService2010 (in ReportService2010.dll)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)] [SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSubscription", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] [SoapHeaderAttribute("TrustedUserHeaderValue")] public void DeleteSubscription( string SubscriptionID )
Parameters
- SubscriptionID
- Type: System.String
The ID of the subscription, returned by the CreateSubscription method.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | |
SharePoint Mode Required Permissions | ManageAlerts() OR (CreateAlerts() AND the user is the subscription owner AND the subscription is a scheduled subscription) |
To delete the subscription specified in the SubscriptionID parameter, a user must have Delete Subscription permissions on the report that is associated with the subscription.
