ReportingService2006.DeleteSubscription(String) Method

Definition

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)

Parameters

SubscriptionID
String

The ID of the subscription, returned by the CreateSubscription(String, ExtensionSettings, String, String, String, ParameterValue[]) method.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ManageAlerts> OR (<xref:Microsoft.SharePoint.SPBasePermissions.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.

Applies to