Initialize a new ESENT session.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetBeginSession ( _
instance As JET_INSTANCE, _
<OutAttribute> ByRef sesid As JET_SESID, _
username As String, _
password As String _
)
'Usage
Dim instance As JET_INSTANCE
Dim sesid As JET_SESID
Dim username As String
Dim password As StringApi.JetBeginSession(instance, sesid, _
username, password)
public static void JetBeginSession(
JET_INSTANCE instance,
out JET_SESID sesid,
string username,
string password
)
Parameters
-
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe initialized instance to create the session in.
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDReturns the created session.
-
username
Type: System.StringThe parameter is not used.
-
password
Type: System.StringThe parameter is not used.
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
