Table.SwitchPartition Method

 

Switches the partition of the table.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodSwitchPartition(Int32, Table)

Switches the specified partition of the table to the specified target table specified (assuming the target table is not partitioned).

System_CAPS_pubmethodSwitchPartition(Int32, Table, Int32)

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

System_CAPS_pubmethodSwitchPartition(Table)

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

System_CAPS_pubmethodSwitchPartition(Table, Int32)

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

Return to top
Show: