Api.JetCreateInstance2 method

Allocate a new instance of the database engine for use in a single process, with a display name specified.

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)


Public Shared Sub JetCreateInstance2 ( _
    <OutAttribute> ByRef instance As JET_INSTANCE, _
    name As String, _
    displayName As String, _
    grbit As CreateInstanceGrbit _
Dim instance As JET_INSTANCE
Dim name As String
Dim displayName As String
Dim grbit As CreateInstanceGrbitApi.JetCreateInstance2(instance, _
    name, displayName, grbit)
public static void JetCreateInstance2(
    out JET_INSTANCE instance,
    string name,
    string displayName,
    CreateInstanceGrbit grbit


  • name
    Type: System.String

    Specifies a unique string identifier for the instance to be created. This string must be unique within a given process hosting the database engine.

  • displayName
    Type: System.String

    A display name for the instance to be created. This will be used in eventlog entries.

See also


Api class

Api members

Microsoft.Isam.Esent.Interop namespace