Share via


Api.JetGetIndexInfo 方法 (JET_SESID、JET_DBID、String、String、JET_INDEXLIST、JET_IdxInfo)

检索有关表的索引的信息。

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

语法

'Declaration
Public Shared Sub JetGetIndexInfo ( _
    sesid As JET_SESID, _
    dbid As JET_DBID, _
    tablename As String, _
    indexname As String, _
    <OutAttribute> ByRef result As JET_INDEXLIST, _
    infoLevel As JET_IdxInfo _
)
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim tablename As String
Dim indexname As String
Dim result As JET_INDEXLIST
Dim infoLevel As JET_IdxInfoApi.JetGetIndexInfo(sesid, dbid, _
    tablename, indexname, result, infoLevel)
public static void JetGetIndexInfo(
    JET_SESID sesid,
    JET_DBID dbid,
    string tablename,
    string indexname,
    out JET_INDEXLIST result,
    JET_IdxInfo infoLevel
)

参数

  • tablename
    类型: System.String

    要检索其索引信息的表的名称。

  • indexname
    类型: System.String

    要检索其相关信息的索引的名称。

另请参阅

参考

Api 类

Api 成员

JetGetIndexInfo 重载

Microsoft.Isam.Esent.Interop 命名空间