ReportingService2010.Logoff Methode

Definition

Meldet den aktuellen Benutzer ab, der Webdienstanforderungen ausführt. Diese Methode gilt nur für den einheitlichen Modus.

public:
 void Logoff();
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/Logoff", 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("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public void Logoff ();
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/Logoff", 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("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.Logoff : unit -> unit
Public Sub Logoff ()
Attribute

Hinweise

In der folgenden Tabelle werden Header- und Berechtigungsinformationen zu diesem Vorgang dargestellt.

SOAP-Headerverwendung (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Erforderliche Berechtigungen im einheitlichen Modus Keine
Erforderliche Berechtigungen im SharePoint-Modus Nicht unterstützt

Diese Methode löst eine Ausnahme aus OperationNotSupportedSharePointMode , wenn sie im SharePoint-Modus aufgerufen wird.

Durch diese Methode wird das Authentifizierungscooky für den Benutzer ungültig, der die Anforderung stellt.

Diese Methode muss über SSL (Secure Sockets Layer) aufgerufen werden. Die Methode schlägt fehl, wenn sie nicht sicher aufgerufen wird.

Gilt für: