Partager via


Méthode Index.AlterAllIndexes

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub AlterAllIndexes
'Utilisation
Dim instance As Index

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

Notes

[!REMARQUE]

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

Exemples

Création, modification et suppression d'index

Voir aussi

Référence

Index Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Index

ALTER INDEX (Transact-SQL)