Index.AlterAllIndexes Method ()

 

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 (in Microsoft.SqlServer.Smo.dll)

public void AlterAllIndexes()

System_CAPS_noteNote

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

Return to top
Show: