共用方式為


CheckTableDataOnly 方法

Tests the integrity of database pages for the table data defined on the table.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function CheckTableDataOnly As StringCollection
'用途
Dim instance As Table
Dim returnValue As StringCollection

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

傳回值

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

備註

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