ReportingService2005.DeleteSubscription(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a subscription from the report server database.
public:
void DeleteSubscription(System::String ^ SubscriptionID);
public void DeleteSubscription (string SubscriptionID);
member this.DeleteSubscription : string -> unit
Public Sub DeleteSubscription (SubscriptionID As String)
- SubscriptionID
- String
The ID of the subscription, returned by the CreateSubscription(String, ExtensionSettings, String, String, String, ParameterValue[]) method.
The table below shows header and permissions information on this operation.
SOAP Headers | (In) BatchHeaderValue (Out) ServerInfoHeaderValue |
---|---|
Required Permissions | DeleteSubscription OR DeleteAnySubscription |
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.