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
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSessione da usare.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDCursore per ottenere il nome dell'indice.
indexName
Tipo: System.StringRestituisce il nome dell'indice.
maxNameLength
Tipo: System.Int32Lunghezza massima del nome dell'indice. I nomi di indice non sono più dei caratteri NameMost .
Vedi anche
Riferimento
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: nel corso del 2024 verranno dismessi i problemi di GitHub come meccanismo di feedback per il contenuto e verranno sostituiti con un nuovo sistema di feedback. Per altre informazioni, vedere:Invia e visualizza il feedback per