Compartilhar via


Método Index.Recreate

Re-creates the index.

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

Sintaxe

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

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

Comentários

This method is equivalent to the Transact-SQL statement CREATE...WITH DROP EXISTING.

Exemplos

Criando, alterando e removendo índices

Consulte também

Referência

Index Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Índices

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)