Export (0) Print
Expand All

EndSession Element (XMLA)

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/">
   <soap:Header>
      ...
      <EndSession
         xmlns="urn:schemas-microsoft-com:xml-analysis"
         SessionId="string" />
      ...
   </soap:Header>
   <soap:Body>
      ...
   </soap:Body>
</soap:Envelope>

Characteristic

Description

Data type and length

None

Default value

None

Cardinality

0-1: Optional element that can occur once and only once.

Relationship

Element

Parent elements

None

Child elements

None

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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft