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.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
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. |
Remarks
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.