EndSession Element (XMLA)
Uses the SOAP header in a SOAP request message to end an existing session on an instance of Microsoft SQL Server 2005 Analysis Services (SSAS).
Namespace urn:schemas-microsoft-com:xml-analysis
Sintaxis
<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
...
<EndSession
xmlns="urn:schemas-microsoft-com:xml-analysis"
SessionId="string" />
...
</soap:Header>
<soap:Body>
...
</soap:Body>
</soap:Envelope>
Element Characteristics
Characteristic | Description |
---|---|
Data type and length |
None |
Default value |
None |
Cardinality |
0-1: Optional element that can occur once and only once. |
Element Relationships
Relationship | Element |
---|---|
Parent elements |
None |
Child elements |
None |
Attributes
Attribute | Description |
---|---|
SessionId |
Required String attribute that identifies the session to be ended. Analysis Services uses a globally unique identifier (GUID) to identify a session. |
Notas
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.
Vea también
Referencia
BeginSession Element (XMLA)
Session Element (XMLA)
Conceptos
Managing Connections and Sessions (XMLA)