Api.JetGetIndexInfo 方法 (JET_SESID, JET_DBID, 字串, 字串, JET_INDEXLIST, JET_IdxInfo)
擷取資料表上索引的相關資訊。
Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'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
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的會話。
dbid
類型: Microsoft.Isam.Esent.Interop.JET_DBID要使用的資料庫。
tablename
類型: System.String要擷取索引資訊的資料表名稱。
indexname
類型: System.String要擷取相關資訊的索引名稱。
result
類型: Microsoft.Isam.Esent.Interop.JET_INDEXLIST填入資料表上索引的相關資訊。
infoLevel
類型: Microsoft.Isam.Esent.Interop.JET_IdxInfo要擷取的資訊類型。
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應