Метод 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.