Export (0) Print
Expand All
Expand Minimize

ReportingService2010.DeleteSubscription Method

Deletes a subscription from the report server database.

Namespace:  ReportService2010
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

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

DeleteSubscription OR DeleteAnySubscription

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft