Partager via


Méthode SwitchPartition (Int32, Table)

Bascule la partition spécifiée de la table sur la table cible spécifiée (on suppose que la table cible n'est pas partitionnée).

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub SwitchPartition ( _
    sourcePartitionNumber As Integer, _
    targetTable As Table _
)
'Utilisation
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
)

Paramètres