Énumération RepairOptions

The RepairOptions enumeration contains values that are used to specify the repair options that are used when checking data in a table.

Cette énumération possède un attribut FlagsAttribute qui permet la combinaison d'opérations de bits de ses valeurs membres.

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

public enum RepairOptions

Nom de membreDescription
NoneNo repair options specified.
AllErrorMessagesDisplays all reported errors per object. If it is not specified, 200 error messages are displayed for each object. The maximum is 1000.
ExtendedLogicalChecksStarting with SQL Server 2008, performs logical consistency checks on an indexed view, XML indexes, and spatial indexes. 
TableLockLimits the checks that are performed. The database catalogs are not checked for consistency, and Service Broker data is not validated.
EstimateOnlyRequests the estimated amount of tempdb space that is required to run the CheckTables method. The actual database check is not performed.

Ajouts de la communauté