Metodo Api.JetGetCurrentIndex

Ddetermine il nome dell'indice corrente di un determinato cursore. Questo nome viene usato anche per selezionare nuovamente tale indice come indice corrente usando JetSetCurrentIndex(JET_SESID, JET_TABLEID, String). Può essere usato anche per individuare le proprietà di tale indice usando JetGetTableIndexInfo.

Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Sintassi

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

Parametri

  • maxNameLength
    Tipo: System.Int32

    Lunghezza massima del nome dell'indice. I nomi di indice non sono più dei caratteri NameMost .

Vedi anche

Riferimento

Classe Api

Membri dell'API

Spazio dei nomi Microsoft.Isam.Esent.Interop