Compartilhar via


Método ReportingService2006.DeleteSubscription

Deletes a subscription from the report server database.

Namespace:  ReportService2006
Assembly:  ReportService2006 (em ReportService2006.dll)

Sintaxe

'Declaração
Public Sub DeleteSubscription ( _
    SubscriptionID As String _
)
'Uso
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
)

Parâmetros

Comentários

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(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.

Consulte também

Referência

ReportingService2006 Classe

Namespace ReportService2006