Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 JetGetIndexInfo ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
tablename As String, _
indexname As String, _
<OutAttribute> ByRef result As UShort, _
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 UShort
Dim infoLevel As JET_IdxInfoApi.JetGetIndexInfo(sesid, dbid, _
tablename, indexname, result, infoLevel)
[CLSCompliantAttribute(false)]
public static void JetGetIndexInfo(
JET_SESID sesid,
JET_DBID dbid,
string tablename,
string indexname,
out ushort 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: System.UInt16Filled in with information about indexes on the table.
infoLevel
Type: Microsoft.Isam.Esent.Interop.JET_IdxInfoThe type of information to retrieve.