Index.CheckIndexWithResult Method ()
Tests the integrity of database pages that store the index.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
The CheckIndex method is implemented using the Transact-SQL DBCC CHECKTABLE WITH TABLERESULTS statement.
![]() |
---|
Indexes based on the UserDefinedTableType object cannot be checked and running this method will generate an exception. |
Show: