Método Api.JetGetCurrentIndex
Ddetermines el nombre del índice actual de un cursor determinado. Este nombre también se usa para volver a seleccionar posteriormente ese índice 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
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSesión que se va a usar.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDCursor para el que se va a obtener el nombre del índice.
indexName
Tipo: System.StringDevuelve el nombre del índice.
maxNameLength
Tipo: System.Int32Longitud máxima del nombre del índice. Los nombres de índice no son más que los caracteres NameMost .