Compartilhar via


Método Index.AlterAllIndexes

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

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

Sintaxe

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

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

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

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Índices

ALTER INDEX (Transact-SQL)