ReportingService2010.DeleteSubscription 方法

Deletes a subscription from the report server database.

命名空间:  ReportService2010
程序集:  ReportService2010(在 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
)

参数

SubscriptionID
类型: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.

社区附加资源

添加
显示: