Condividi tramite


Metodo CheckTables (RepairType, RepairOptions, RepairStructure)

Verifica l'integrità delle pagine di database per tutte le tabelle e tutti gli indici definiti nelle tabelle del database.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function CheckTables ( _
    repairType As RepairType, _
    repairOptions As RepairOptions, _
    repairStructure As RepairStructure _
) As StringCollection
'Utilizzo
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

Parametri

Valore restituito

Tipo: System.Collections.Specialized. . :: . .StringCollection
Valore dell'oggetto StringCollection che contiene un report sull'integrità di tabelle e indici del database.