Compartilhar via


Método Index.Rebuild

Rebuilds the index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Rebuild
'Uso
Dim instance As Index

instance.Rebuild()
public void Rebuild()
public:
void Rebuild()
member Rebuild : unit -> unit
public function Rebuild()

Comentários

ObservaçãoObservação

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.

Exemplos

Criando, alterando e removendo índices

Consulte também

Referência

Index Classe

Sobrecarregado Rebuild

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Índices

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)