Api.JetGetIndexInfo 方法 (JET_SESID、JET_DBID、String、String、JET_INDEXLIST)
注意:此 API 现已过时。
检索有关表索引的信息。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
<ObsoleteAttribute("Use the overload that takes a JET_IdxInfo parameter, passing in JET_IdxInfo.List")> _
Public Shared Sub JetGetIndexInfo ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
tablename As String, _
ignored As String, _
<OutAttribute> ByRef indexlist As JET_INDEXLIST _
)
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim tablename As String
Dim ignored As String
Dim indexlist As JET_INDEXLISTApi.JetGetIndexInfo(sesid, dbid, _
tablename, ignored, indexlist)
[ObsoleteAttribute("Use the overload that takes a JET_IdxInfo parameter, passing in JET_IdxInfo.List")]
public static void JetGetIndexInfo(
JET_SESID sesid,
JET_DBID dbid,
string tablename,
string ignored,
out JET_INDEXLIST indexlist
)
参数
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
dbid
类型: Microsoft.Isam.Esent.Interop.JET_DBID要使用的数据库。
tablename
类型: System.String要检索其索引信息的表的名称。
已忽略
类型: System.String忽略此参数。
indexlist
类型: Microsoft.Isam.Esent.Interop.JET_INDEXLIST填充了有关表索引的信息。