Metodo Index.AlterAllIndexes

Updates any Index object property changes for all indexes on the instance of SQL Server for a specified index operation.

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

Sintassi

'Dichiarazione
Public Sub AlterAllIndexes
'Utilizzo
Dim instance As Index

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

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)