Metode Api.JetGetCurrentIndex

Menentukan nama indeks saat ini dari kursor tertentu. Nama ini juga digunakan untuk memilih ulang indeks tersebut sebagai indeks saat ini menggunakan JetSetCurrentIndex(JET_SESID, JET_TABLEID, String). Ini juga dapat digunakan untuk menemukan properti indeks tersebut menggunakan JetGetTableIndexInfo.

Namespace:Microsoft.Isam.Esent.Interop
Majelis: Microsoft.Isam.Esent.Interop (dalam Microsoft.Isam.Esent.Interop.dll)

Sintaks

'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
)

Parameter

  • maxNameLength
    Jenis: System.Int32

    Panjang maksimum nama indeks. Nama indeks tidak lebih dari karakter NameMost .

Lihat juga

Referensi

Kelas Api

Anggota api

Namespace Microsoft.Isam.Esent.Interop