Api.JetGetIndexInfo method (JET_SESID, JET_DBID, String, String, JET_INDEXID, JET_IdxInfo)
Retrieves information about indexes on a table.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetGetIndexInfo ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
tablename As String, _
indexname As String, _
<OutAttribute> ByRef result As JET_INDEXID, _
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_INDEXID
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_INDEXID result,
JET_IdxInfo infoLevel
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database to use.
tablename
Type: System.StringThe name of the table to retrieve index information about.
indexname
Type: System.StringThe name of the index to retrieve information about.
result
Type: Microsoft.Isam.Esent.Interop.JET_INDEXIDFilled in with information about indexes on the table.
infoLevel
Type: Microsoft.Isam.Esent.Interop.JET_IdxInfoThe type of information to retrieve.