Share via


Méthode CheckTables (RepairType, RepairOptions, RepairStructure)

Teste l'intégrité des pages de base de données de toutes les tables et de tous les index définis sur les tables de la base de données.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function CheckTables ( _
    repairType As RepairType, _
    repairOptions As RepairOptions, _
    repairStructure As RepairStructure _
) As StringCollection
'Utilisation
Dim instance As Database
Dim repairType As RepairType
Dim repairOptions As RepairOptions
Dim repairStructure As RepairStructure
Dim returnValue As StringCollection

returnValue = instance.CheckTables(repairType, _
    repairOptions, repairStructure)
public StringCollection CheckTables(
    RepairType repairType,
    RepairOptions repairOptions,
    RepairStructure repairStructure
)
public:
StringCollection^ CheckTables(
    RepairType repairType, 
    RepairOptions repairOptions, 
    RepairStructure repairStructure
)
member CheckTables : 
        repairType:RepairType * 
        repairOptions:RepairOptions * 
        repairStructure:RepairStructure -> StringCollection 
public function CheckTables(
    repairType : RepairType, 
    repairOptions : RepairOptions, 
    repairStructure : RepairStructure
) : StringCollection

Paramètres

Valeur de retour

Type : System.Collections.Specialized. . :: . .StringCollection
Valeur de l'objet StringCollection qui contient un rapport sur l'intégrité des tables et des index de la base de données.