Table.SwitchPartition Method (Table)

 

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

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

public void SwitchPartition(
	Table targetTable
)

Parameters

targetTable
Type: Microsoft.SqlServer.Management.Smo.Table

A Table object value that specifies the table that is in the required partition.

Return to top
Show: