다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Enumeration RepairType
‘사용 방법
Dim instance As RepairType
public enum RepairType
public enum class RepairType
type RepairType
public enum RepairType

멤버

멤버 이름 설명
None No repair is performed.
Fast Maintains syntax for backward compatibility only. 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.
AllowDataLoss Tries to repair all reported errors. These repairs can cause some data loss.

주의

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