Share via


Api.JetGetTableIndexInfo 方法 (JET_SESID, JET_TABLEID, String, UInt16, JET_IdxInfo)

擷取資料表上索引的相關資訊。

此 API 不符合 CLS 規範。 

Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Sub JetGetTableIndexInfo ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    indexname As String, _
    <OutAttribute> ByRef result As UShort, _
    infoLevel As JET_IdxInfo _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexname As String
Dim result As UShort
Dim infoLevel As JET_IdxInfoApi.JetGetTableIndexInfo(sesid, _
    tableid, indexname, result, infoLevel)
[CLSCompliantAttribute(false)]
public static void JetGetTableIndexInfo(
    JET_SESID sesid,
    JET_TABLEID tableid,
    string indexname,
    out ushort result,
    JET_IdxInfo infoLevel
)

參數

  • result
    類型: System.UInt16

    填入資料表上索引的相關資訊。

另請參閱

參考

Api 類別

Api 成員

JetGetTableIndexInfo 多載

Microsoft.Isam.Esent.Interop 命名空間