CheckTable 方法

Tests the integrity of database pages for the table and indexes defined on the table.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function CheckTable As StringCollection
用法
Dim instance As Table
Dim returnValue As StringCollection

returnValue = instance.CheckTable()
public StringCollection CheckTable()
public:
StringCollection^ CheckTable()
member CheckTable : unit -> StringCollection 
public function CheckTable() : StringCollection

返回值

类型:System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object value that contains the results of the checking the integrity of the table, including the number of rows and the number of pages.

注释

This method is functionally equivalent to the Transact-SQL CHECK TABLE statement.