Метод Index.AlterAllIndexes

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub AlterAllIndexes
'Применение
Dim instance As Index

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

Замечания

ПримечаниеПримечание

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

Примеры

Создание, изменение и удаление индексов

См. также

Справочник

Index Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Индексы

ALTER INDEX (Transact-SQL)