Export (0) Print
Expand All

ReportingService2010::DeleteSubscription Method (String^)

 

Applies To: SQL Server 2016 Preview

Deletes a subscription from the report server database.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

public:
[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")]
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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft