Compartir a través de


Index.CheckIndex Method

Tests the integrity of database pages that store the index.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Function CheckIndex As StringCollection
public StringCollection CheckIndex ()
public:
StringCollection^ CheckIndex ()
public StringCollection CheckIndex ()
public function CheckIndex () : StringCollection

Valor devuelto

A StringCollection object value that contains the error messages generated by the integrity check.

Notas

The CheckIndex method is implemented using the Transact-SQL DBCC CHECKTABLE statement.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

How to: Create a Non-Clustered, Composite Index in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Index Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Creating, Altering, and Removing Indexes
Índices
CREATE INDEX (Transact-SQL)