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
)
参数
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要检索其索引信息的表。
返回值
类型: System.Collections.Generic.IEnumerable<IndexInfo>
针对表中每个索引的 IndexInfo 的迭代器。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈