RepairType Enumeration

The RepairType enumeration contains values that are used to specify the type of repair mode used by the database consistency check (DBCC) functions.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Enumeration RepairType
public enum RepairType
public enum class RepairType
public enum RepairType
public enum RepairType

Members

Member name Description
AllowDataLoss Repair the data pages even though data may be lost.
Fast Repair the data pages in fast mode.
None Do not repair the data pages.
Rebuild Repair the data pages by rebuilding them.

Notes

The RepairType enumeration class is served by the CheckTables method and the CheckAllocations method.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Microsoft.SqlServer.Management.Smo Namespace