ReportingService2010.DeleteSubscription(String) 메서드

정의

보고서 서버 데이터베이스에서 구독을 삭제합니다.

public:
 void DeleteSubscription(System::String ^ SubscriptionID);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSubscription", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void DeleteSubscription (string SubscriptionID);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/DeleteSubscription", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.DeleteSubscription : string -> unit
Public Sub DeleteSubscription (SubscriptionID As String)

매개 변수

SubscriptionID
String

구독의 ID이며 CreateSubscription(String, ExtensionSettings, String, String, String, ParameterValue[]) 메서드에서 반환됩니다.

특성

설명

다음 표에서는 이 작업에 대한 헤더 및 사용 권한 정보를 보여 줍니다.

SOAP 헤더 사용 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
기본 모드 필수 권한 DeleteSubscription OR DeleteAnySubscription
SharePoint 모드 필수 권한 <xref:Microsoft.SharePoint.SPBasePermissions.ManageAlerts> OR(<xref:Microsoft.SharePoint.SPBasePermissions.CreateAlerts> 및 사용자가 구독 소유자이고 구독이 예약된 구독임)

매개 변수에 지정된 구독을 SubscriptionID 삭제하려면 사용자에게 구독과 연결된 보고서에 대한 구독 삭제 권한이 있어야 합니다.

적용 대상