语言

Database.CheckTablesDataOnly 方法

定义

重载

名称 说明
CheckTablesDataOnly(RepairStructure)

使用NO_INDEX选项和给定的修复结构调用 DBCC CHECKDB

CheckTablesDataOnly(RepairOptions, RepairStructure, Nullable<Int64>)

使用NO_INDEX选项和给定的修复选项和修复结构调用 DBCC CHECKDB。

CheckTablesDataOnly()

使用 NOINDEX 选项调用 DBCC CHECKDB

CheckTablesDataOnly(RepairOptions)

使用NO_INDEX选项和给定的修复选项调用 DBCC CHECKDB

CheckTablesDataOnly(RepairStructure)

使用NO_INDEX选项和给定的修复结构调用 DBCC CHECKDB

public System.Collections.Specialized.StringCollection CheckTablesDataOnly(Microsoft.SqlServer.Management.Smo.RepairStructure repairStructure);
member this.CheckTablesDataOnly : Microsoft.SqlServer.Management.Smo.RepairStructure -> System.Collections.Specialized.StringCollection
Public Function CheckTablesDataOnly (repairStructure As RepairStructure) As StringCollection

参数

repairStructure
RepairStructure

返回

DBCC CHECKDB 生成的消息

适用于

CheckTablesDataOnly(RepairOptions, RepairStructure, Nullable<Int64>)

使用NO_INDEX选项和给定的修复选项和修复结构调用 DBCC CHECKDB。

public System.Collections.Specialized.StringCollection CheckTablesDataOnly(Microsoft.SqlServer.Management.Smo.RepairOptions repairOptions, Microsoft.SqlServer.Management.Smo.RepairStructure repairStructure, long? maxDOP = default);
member this.CheckTablesDataOnly : Microsoft.SqlServer.Management.Smo.RepairOptions * Microsoft.SqlServer.Management.Smo.RepairStructure * Nullable<int64> -> System.Collections.Specialized.StringCollection
Public Function CheckTablesDataOnly (repairOptions As RepairOptions, repairStructure As RepairStructure, Optional maxDOP As Nullable(Of Long) = Nothing) As StringCollection

参数

repairOptions
RepairOptions
repairStructure
RepairStructure
maxDOP
Nullable<Int64>

允许检查的并行度。 仅适用于 sql 版本 >= 13

返回

DBCC CHECKDB 生成的消息

适用于

CheckTablesDataOnly()

使用 NOINDEX 选项调用 DBCC CHECKDB

public System.Collections.Specialized.StringCollection CheckTablesDataOnly();
member this.CheckTablesDataOnly : unit -> System.Collections.Specialized.StringCollection
Public Function CheckTablesDataOnly () As StringCollection

返回

DBCC CHECKDB 生成的消息

适用于

CheckTablesDataOnly(RepairOptions)

使用NO_INDEX选项和给定的修复选项调用 DBCC CHECKDB

public System.Collections.Specialized.StringCollection CheckTablesDataOnly(Microsoft.SqlServer.Management.Smo.RepairOptions repairOptions);
member this.CheckTablesDataOnly : Microsoft.SqlServer.Management.Smo.RepairOptions -> System.Collections.Specialized.StringCollection
Public Function CheckTablesDataOnly (repairOptions As RepairOptions) As StringCollection

参数

repairOptions
RepairOptions

返回

DBCC CHECKDB 生成的消息

适用于