共用方式為


ReportingService2005.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) 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.

Applies to