Api.GetTableIndexes-Methode (JET_SESID, JET_TABLEID)
Durchläuft alle Indizes in der Tabelle und gibt Informationen zu jedem Index zurück.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function GetTableIndexes ( _
sesid As JET_SESID, _
tableid As JET_TABLEID _
) As IEnumerable(Of IndexInfo)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim returnValue As IEnumerable(Of IndexInfo)
returnValue = Api.GetTableIndexes(sesid, _
tableid)
public static IEnumerable<IndexInfo> GetTableIndexes(
JET_SESID sesid,
JET_TABLEID tableid
)
Parameter
sesid
Typ: Microsoft.Isam.Esent.Interop.JET_SESIDDie zu verwendende Sitzung.
tableid
Typ: Microsoft.Isam.Esent.Interop.JET_TABLEIDDie Tabelle, für die Indexinformationen abgerufen werden sollen.
Rückgabewert
Typ: System.Collections.Generic.IEnumerable<IndexInfo>
Ein Iterator über einer IndexInfo für jeden Index in der Tabelle.