共用方式為


ReportingService2005.DeleteSubscription 方法

Deletes a subscription from the report server database.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Sub DeleteSubscription ( _
    SubscriptionID As String _
)
'用途
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
)

參數

備註

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.

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間