Api.JetGetTableIndexInfo method (JET_SESID, JET_TABLEID, String, UInt16, JET_IdxInfo)
Retrieves information about indexes on a table.
This API is not CLS-compliant.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'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
)
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.UInt16Filled in with information about indexes on the table.
infoLevel
Type: Microsoft.Isam.Esent.Interop.JET_IdxInfoThe type of information to retrieve.