RepairOptions 列舉型別
The RepairOptions enumeration contains values that are used to specify the repair options that are used when checking data in a table.
此列舉型別具有允許其成員值之位元組合的 FlagsAttribute 屬性。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)
語法
'宣告
<FlagsAttribute> _
Public Enumeration RepairOptions
'用途
Dim instance As RepairOptions
[FlagsAttribute]
public enum RepairOptions
[FlagsAttribute]
public enum class RepairOptions
[<FlagsAttribute>]
type RepairOptions
public enum RepairOptions
成員
成員名稱 | 描述 | |
---|---|---|
None | No repair options specified. | |
AllErrorMessages | Displays all reported errors per object. If it is not specified, 200 error messages are displayed for each object. The maximum is 1000. | |
ExtendedLogicalChecks | Starting with SQL Server 2008, performs logical consistency checks on an indexed view, XML indexes, and spatial indexes. | |
NoInformationMessages | ||
TableLock | Limits the checks that are performed. The database catalogs are not checked for consistency, and Service Broker data is not validated. | |
EstimateOnly | Requests the estimated amount of tempdb space that is required to run the CheckTables method. The actual database check is not performed. |
備註
The RepairOptions enumeration class is served by the T:Microsoft.SqlServer.Management.Smo.Database.CheckTables(Microsoft.SqlServer.Management.Smo.RepairOptions) method.