Api.JetGetTableIndexInfo method (JET_SESID, JET_TABLEID, String, Int32, 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 JetGetTableIndexInfo ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
indexname As String, _
<OutAttribute> ByRef result As Integer, _
infoLevel As JET_IdxInfo _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexname As String
Dim result As Integer
Dim infoLevel As JET_IdxInfoApi.JetGetTableIndexInfo(sesid, _
tableid, indexname, result, infoLevel)
public static void JetGetTableIndexInfo(
JET_SESID sesid,
JET_TABLEID tableid,
string indexname,
out int result,
JET_IdxInfo infoLevel
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe table to retrieve index information about.
indexname
Type: System.StringThe name of the index.
result
Type: System.Int32Filled in with information about indexes on the table.
infoLevel
Type: Microsoft.Isam.Esent.Interop.JET_IdxInfoThe type of information to retrieve.