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.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
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.

备注

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.Management.Smo Namespace