sqloptions:sqlSession üstbilgi öğesi
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The sqloptions:sqlSession option enables the istemci to control the oturum for the request when it included and appears as a SOAP header.
Üstbilgi adında bir öğe oluşur sqloptions:sqlSession.Öğenin beş isteğe bağlı öznitelikleri: başlatma, terminate, oturum kimliği, zaman aşımı, and transactionDescriptor.Tek tek özniteliklerini davranışını ve kullanımı hakkında daha fazla bilgi için bkz: SOAP oturumlar ile çalışma.
Yalnızca örnek sqloptions:sqlSession seçeneği, bir istek veya yanıt olarak görünebilir.Seçenek birden çok örneğini bir hata üretecektir.
Aşağıdaki için şemanın bir parçası olan sqloptions:sqlSession option:
<xs:element name="sqlSession form="qualified">
<xs:annotation>
<xs:documentation>
SQL Server SOAP Session
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute
name="initiate"
default="false"
type="xs:boolean"
form="unqualified">
<xs:annotation>
<xs:documentation>
TRUE to request to start a new session
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute
name="terminate"
default="false"
type="xs:boolean"
form="unqualified">
<xs:annotation>
<xs:documentation>
TRUE to request to terminate an existing session
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sessionId" type="xs:base64Binary" form="unqualified">
<xs:annotation>
<xs:documentation>
The ID of a session
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timeout" type="xs:int" form="unqualified">
<xs:annotation>
<xs:documentation>
The timeout in seconds before the session expires.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute
name="transactionDescriptor"
type="xs:base64Binary"
form="unqualified">
<xs:annotation>
<xs:documentation>
The descriptor of a transaction to enlist to.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>