Share via


api.GetTableIndexes 方法 (JET_SESID,JET_TABLEID)

循环访问表中的所有索引,返回有关每个索引的信息。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

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

参数

返回值

类型: System.Collections.Generic.IEnumerable<IndexInfo>
针对表中每个索引的 IndexInfo 的迭代器。

另请参阅

参考

Api 类

Api 成员

GetTableIndexes 重载

Microsoft.Isam.Esent.Interop 命名空间