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

구문

<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.

주의

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)

도움말 및 정보

SQL Server 2005 지원 받기