Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 2.02 KB

api.jetsetsessioncontext-method.md

File metadata and controls

80 lines (62 loc) · 2.02 KB
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
Microsoft.Isam.Esent.Interop.Api.JetSetSessionContext
CSharp
JScript
VB
other
Microsoft.Isam.Esent.Interop.Api.JetSetSessionContext
kbSyntax
apiref
Managed
Microsoft.Isam.Esent.Interop.dll
INDEX,FOLLOW

Api.JetSetSessionContext method

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)

Syntax

'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
)

Parameters

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace