Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Switches the table to the partition with the specified partition number of the specified target table.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub SwitchPartition ( _
targetTable As Table, _
targetPartitionNumber As Integer _
)
'Применение
Dim instance As Table
Dim targetTable As Table
Dim targetPartitionNumber As Integer
instance.SwitchPartition(targetTable, _
targetPartitionNumber)
public void SwitchPartition(
Table targetTable,
int targetPartitionNumber
)
public:
void SwitchPartition(
Table^ targetTable,
int targetPartitionNumber
)
member SwitchPartition :
targetTable:Table *
targetPartitionNumber:int -> unit
public function SwitchPartition(
targetTable : Table,
targetPartitionNumber : int
)
Параметры
- targetTable
Тип: Microsoft.SqlServer.Management.Smo.Table
A Table object value that specifies the table that is in the required partition.
- targetPartitionNumber
Тип: System.Int32
An Int32 value that specifies the partition number of the target partition.
Примеры
Использование файловых групп и файлов для хранения данных
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo