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)

public enum RepairType
public enum RepairType
public enum RepairType

Member nameDescription
AllowDataLossRepair the data pages even though data may be lost.
FastRepair the data pages in fast mode.
NoneDo not repair the data pages.
RebuildRepair the data pages by rebuilding them.

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.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions