Partager via


CheckTableDataOnly méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function CheckTableDataOnly As StringCollection
'Utilisation
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

Valeur de retour

Type : 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.

Notes

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