Api.GetTableIndexes method (JET_SESID, JET_DBID, String)
Iterates over all the indexs in the table, returning information about each one.
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, _
dbid As JET_DBID, _
tablename As String _
) As IEnumerable(Of IndexInfo)
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim tablename As String
Dim returnValue As IEnumerable(Of IndexInfo)
returnValue = Api.GetTableIndexes(sesid, _
dbid, tablename)
public static IEnumerable<IndexInfo> GetTableIndexes(
JET_SESID sesid,
JET_DBID dbid,
string tablename
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database containing the table.
tablename
Type: System.StringThe name of the table.
Return value
Type: System.Collections.Generic.IEnumerable<IndexInfo>
An iterator over an IndexInfo for each index in the table.