Compartir a través de


Método Api.JetGetCurrentIndex

Ddetermines el nombre del índice actual de un cursor determinado. Este nombre también se usa para volver a seleccionar ese índice posteriormente como índice actual mediante JetSetCurrentIndex(JET_SESID, JET_TABLEID, String). También se puede usar para detectar las propiedades de ese índice mediante JetGetTableIndexInfo.

Espacio de nombres:Microsoft.Isam.Esent.Interop
Ensamblaje: Microsoft.Isam.Esent.Interop (en Microsoft.Isam.Esent.Interop.dll)

Sintaxis

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

Parámetros

  • maxNameLength
    Tipo: System.Int32

    Longitud máxima del nombre del índice. Los nombres de índice no son más que caracteres NameMost .

Consulte también

Referencia

Clase de API

Miembros de api

Espacio de nombres Microsoft.Isam.Esent.Interop