DeleteSubscription Method
SQL Server 2000
ReportingService.DeleteSubscription Method
Deletes a subscription from the report server database.
Public Sub DeleteSubscription( _ ByVal SubscriptionID As String _ ) Member of [Namespace].ReportingService
public void DeleteSubscription( string SubscriptionID ) Member of [Namespace].ReportingService
Parameters
- SubscriptionID
- The ID of the subscription.
Permissions
| Operation | Description |
|---|---|
| Delete Subscription | Required on the report that is associated with the subscription. This permission is required for owners who want to delete their own subscriptions. |
| Delete Any Subscription | Required on the report that is associated with a subscription. This permission is required for administrators who want to delete any subscriptions. |
Remarks
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.
Use the ListSubscriptions method to retrieve a current list of subscriptions in the report server database.
Use this method to delete both standard and data-driven subscriptions.