Edit

Share via


Api.JetGetCurrentIndex method

Ddetermines the name of the current index of a given cursor. This name is also used to later re-select that index as the current index using JetSetCurrentIndex(JET_SESID, JET_TABLEID, String). It can also be used to discover the properties of that index using JetGetTableIndexInfo.

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

Syntax

'Declaration
Public Shared Sub JetGetCurrentIndex ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    <OutAttribute> ByRef indexName As String, _
    maxNameLength As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexName As String
Dim maxNameLength As IntegerApi.JetGetCurrentIndex(sesid, tableid, _
    indexName, maxNameLength)
public static void JetGetCurrentIndex(
    JET_SESID sesid,
    JET_TABLEID tableid,
    out string indexName,
    int maxNameLength
)

Parameters

  • maxNameLength
    Type: System.Int32

    The maximum length of the index name. Index names are no more than NameMost characters.

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace