Freigeben über


ReportingService2005.DeleteSubscription-Methode

Deletes a subscription from the report server database.

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

Syntax

'Declaration
Public Sub DeleteSubscription ( _
    SubscriptionID As String _
)
'Usage
Dim instance As ReportingService2005 
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
)

Parameter

Hinweise

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.

Siehe auch

Verweis

ReportingService2005 Klasse

ReportService2005-Namespace