Api.JetCreateIndex method

Creates an index over data in an ESE database. An index can be used to locate specific data quickly.

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

Syntax

'Declaration
Public Shared Sub JetCreateIndex ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    indexName As String, _
    grbit As CreateIndexGrbit, _
    keyDescription As String, _
    keyDescriptionLength As Integer, _
    density As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexName As String
Dim grbit As CreateIndexGrbit
Dim keyDescription As String
Dim keyDescriptionLength As Integer
Dim density As IntegerApi.JetCreateIndex(sesid, tableid, _
    indexName, grbit, keyDescription, _
    keyDescriptionLength, density)
public static void JetCreateIndex(
    JET_SESID sesid,
    JET_TABLEID tableid,
    string indexName,
    CreateIndexGrbit grbit,
    string keyDescription,
    int keyDescriptionLength,
    int density
)

Parameters

  • indexName
    Type: System.String

    Pointer to a null-terminated string that specifies the name of the index to create.

  • keyDescription
    Type: System.String

    Pointer to a double null-terminated string of null-delimited tokens.

  • keyDescriptionLength
    Type: System.Int32

    The length, in characters, of szKey including the two terminating nulls.

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace