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