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()


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

Return to top