Metodo Index.ReorganizeAllIndexes

Reorganizes all the indexes based on current property settings.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub ReorganizeAllIndexes
'Utilizzo
Dim instance As Index

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

Osservazioni

[!NOTA]

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

Esempi

Creazione, modifica e rimozione di indici

Vedere anche

Riferimento

Index Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Indici

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)