共用方式為


Table.SwitchPartition Method

Switches the partition of the table.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
Table.SwitchPartition (Table)
Switches the partition of the table to the specified target table.
Table.SwitchPartition (Int32, Table)
Switches the specified partition of the table to the specified target table specified (assuming the target table is not partitioned).
Table.SwitchPartition (Table, Int32)
Switches the table to the partition with the specified partition number of the specified target table.
Table.SwitchPartition (Int32, Table, Int32)
Switches the specified source partition of the table to the specified target of the specified target table.

請參閱

參考

Table Class
Table Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Using Table and Index Partitioning
Creating, Altering, and Removing Tables
資料表
sp_addmergepartition (Transact-SQL)