Поделиться через


Метод Index.Rebuild (Int32)

Rebuilds the index on the partition with the specified partition number.

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

Синтаксис

'Декларация
Public Sub Rebuild ( _
    partitionNumber As Integer _
)
'Применение
Dim instance As Index 
Dim partitionNumber As Integer

instance.Rebuild(partitionNumber)
public void Rebuild(
    int partitionNumber
)
public:
void Rebuild(
    int partitionNumber
)
member Rebuild : 
        partitionNumber:int -> unit
public function Rebuild(
    partitionNumber : int
)

Параметры

  • partitionNumber
    Тип: System.Int32
    A Int32 value that specifies the number of the partition to be rebuilt.

Замечания

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

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

Примеры

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

См. также

Справочник

Index Класс

Перегрузка Rebuild

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

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

Индексы

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)