Freigeben über


SwitchPartition-Methode (Int32, Table)

Wechselt von der angegebenen Partition der Tabelle zur angegebenen Zieltabelle (wobei vorausgesetzt wird, dass die Zieltabelle nicht partitioniert ist).

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

Syntax

'Declaration
Public Sub SwitchPartition ( _
    sourcePartitionNumber As Integer, _
    targetTable As Table _
)
'Usage
Dim instance As Table
Dim sourcePartitionNumber As Integer
Dim targetTable As Table

instance.SwitchPartition(sourcePartitionNumber, _
    targetTable)
public void SwitchPartition(
    int sourcePartitionNumber,
    Table targetTable
)
public:
void SwitchPartition(
    int sourcePartitionNumber, 
    Table^ targetTable
)
member SwitchPartition : 
        sourcePartitionNumber:int * 
        targetTable:Table -> unit 
public function SwitchPartition(
    sourcePartitionNumber : int, 
    targetTable : Table
)

Parameter