Api.JetInit2 method
Initialize the ESENT database engine.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function JetInit2 ( _
ByRef instance As JET_INSTANCE, _
grbit As InitGrbit _
) As JET_wrn
'Usage
Dim instance As JET_INSTANCE
Dim grbit As InitGrbit
Dim returnValue As JET_wrn
returnValue = Api.JetInit2(instance, _
grbit)
public static JET_wrn JetInit2(
ref JET_INSTANCE instance,
InitGrbit grbit
)
Parameters
instance
Type: Microsoft.Isam.Esent.Interop.JET_INSTANCEThe instance to initialize. If an instance hasn't been allocated then a new one is created and the engine will operate in single-instance mode.
grbit
Type: Microsoft.Isam.Esent.Interop.InitGrbitInitialization options.
Return value
Type: Microsoft.Isam.Esent.Interop.JET_wrn
A warning code.