Méthode API. JetGetIndexInfo (JET_SESID, JET_DBID, String, String, JET_INDEXLIST, JET_IdxInfo)
Récupère des informations sur les index d’une table.
Espace de noms : Microsoft. ISAM. esent. Interop
Assembly : Microsoft. ISAM. esent. Interop (en Microsoft.Isam.Esent.Interop.dll)
Syntaxe
'Declaration
Public Shared Sub JetGetIndexInfo ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
tablename As String, _
indexname As String, _
<OutAttribute> ByRef result As JET_INDEXLIST, _
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_INDEXLIST
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_INDEXLIST result,
JET_IdxInfo infoLevel
)
Paramètres
sesid
Type : Microsoft.ISAM.esent.Interop.JET_SESIDSession à utiliser.
dbid
Type : Microsoft.ISAM.esent.Interop.JET_DBIDBase de données à utiliser.
tablename
Type : System. StringNom de la table sur laquelle récupérer les informations d’index.
IndexName
Type : System. StringNom de l’index sur lequel récupérer des informations.
result
Type : Microsoft.ISAM.esent.Interop.JET_INDEXLISTRenseigné avec des informations sur les index de la table.
infoLevel
Type : Microsoft.ISAM.esent.Interop.JET_IdxInfoType d’informations à récupérer.