ReportingService2006.DeleteSubscription 方法
Deletes a subscription from the report server database.
命名空间: ReportService2006
程序集: ReportService2006(在 ReportService2006.dll 中)
语法
声明
Public Sub DeleteSubscription ( _
SubscriptionID As String _
)
用法
Dim instance As ReportingService2006
Dim SubscriptionID As String
instance.DeleteSubscription(SubscriptionID)
public void DeleteSubscription(
string SubscriptionID
)
public:
void DeleteSubscription(
String^ SubscriptionID
)
member DeleteSubscription :
SubscriptionID:string -> unit
public function DeleteSubscription(
SubscriptionID : String
)
参数
- 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 Headers |
(Out) ServerInfoHeaderValue |
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.