RepairType 枚举

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(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Enumeration RepairType
用法
Dim instance As RepairType
public enum RepairType
public enum class RepairType
type RepairType
public enum RepairType

成员

成员名称 说明
AllowDataLoss Tries to repair all reported errors. These repairs can cause some data loss.
Fast Maintains syntax for backward compatibility only. No repair is performed.
None No repair is performed.
Rebuild Performs repairs that have no possibility of data loss. This can include quick repairs, such as repairing missing rows in non-clustered indexes, and more time-consuming repairs, such as rebuilding an index. REPAIR does not repair errors involving FILESTREAM data.

注释

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

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间