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


Метод Table.SwitchPartition (Table)

Switches the partition of the table to the specified target table.

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

Синтаксис

'Декларация
Public Sub SwitchPartition ( _
    targetTable As Table _
)
'Применение
Dim instance As Table 
Dim targetTable As Table

instance.SwitchPartition(targetTable)
public void SwitchPartition(
    Table targetTable
)
public:
void SwitchPartition(
    Table^ targetTable
)
member SwitchPartition : 
        targetTable:Table -> unit
public function SwitchPartition(
    targetTable : Table
)

Параметры

Примеры

Использование файловых групп и файлов для хранения данных

См. также

Справочник

Table Класс

Перегрузка SwitchPartition

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

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

Создание, изменение и удаление таблиц

Таблицы

sp_addmergepartition (Transact-SQL)