EndSession Element (XMLA)


Applies To: SQL Server 2016 Preview

Uses the SOAP header in a SOAP request message to end an existing session on an instance of Microsoft SQL Server Analysis Services.

Namespace urn:schemas-microsoft-com:xml-analysis

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">  
         SessionId="string" />  

Data type and lengthNone
Default valueNone
Cardinality0-1: Optional element that can occur once and only once.
Parent elementsNone
Child elementsNone
SessionIdRequired String attribute that identifies the session to be ended. Analysis Services uses a globally unique identifier (GUID) to identify a session.

The EndSession header element is part of the SOAP request sent to an existing, explicitly started session on an Analysis Services instance. If the EndSession header element is sent, but contains a session identifier that is no longer valid, a SOAP fault is returned that indicates that the session cannot be found.

BeginSession Element (XMLA)
Session Element (XMLA)
Managing Connections and Sessions (XMLA)
Headers (XMLA)

Community Additions