description | title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | ms.topic | f1_keywords | dev_langs | api_name | topic_type | api_type | api_location | ROBOTS | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: Api.JetSetSessionContext method |
Api.JetSetSessionContext method |
JetSetSessionContext method |
M:Microsoft.Isam.Esent.Interop.Api.JetSetSessionContext(Microsoft.Isam.Esent.Interop.JET_SESID,System.IntPtr) |
55100820 |
07/30/2014 |
reference |
|
|
|
|
|
|
INDEX,FOLLOW |
Associates a session with the current thread using the given context handle. This association overrides the default engine requirement that a transaction for a given session must occur entirely on the same thread. Use JetResetSessionContext(JET_SESID) to remove the association.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
'Declaration
Public Shared Sub JetSetSessionContext ( _
sesid As JET_SESID, _
context As IntPtr _
)
'Usage
Dim sesid As JET_SESID
Dim context As IntPtrApi.JetSetSessionContext(sesid, _
context)
public static void JetSetSessionContext(
JET_SESID sesid,
IntPtr context
)
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to set the context on.
-
context
Type: System.IntPtrThe context to set.