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)