Table.SwitchPartition Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| SwitchPartition(Int32, Table, Int32) |
Bascule la partition avec le numéro de partition sourcePartitionNumber de la table active vers la partition avec le numéro de partition targetPartitionNumber de la table spécifiée avec targetTable. |
| SwitchPartition(Int32, Table) |
Bascule la partition avec le numéro de partition sourcePartitionNumber de la table active vers la table spécifiée avec targetTable. Cela suppose que la table cible n’est pas partitionnée. |
| SwitchPartition(Table) |
Bascule la table actuelle vers la table spécifiée avec targetTable. |
| SwitchPartition(Table, Int32) |
Bascule la table actuelle vers la partition avec le numéro de partition targetPartitionNumber de la table spécifiée avec targetTable. |
SwitchPartition(Int32, Table, Int32)
Bascule la partition avec le numéro de partition sourcePartitionNumber de la table active vers la partition avec le numéro de partition targetPartitionNumber de la table spécifiée avec targetTable.
public void SwitchPartition(int sourcePartitionNumber, Microsoft.SqlServer.Management.Smo.Table targetTable, int targetPartitionNumber);
member this.SwitchPartition : int * Microsoft.SqlServer.Management.Smo.Table * int -> unit
Public Sub SwitchPartition (sourcePartitionNumber As Integer, targetTable As Table, targetPartitionNumber As Integer)
Paramètres
- sourcePartitionNumber
- Int32
- targetTable
- Table
- targetPartitionNumber
- Int32
S’applique à
SwitchPartition(Int32, Table)
Bascule la partition avec le numéro de partition sourcePartitionNumber de la table active vers la table spécifiée avec targetTable. Cela suppose que la table cible n’est pas partitionnée.
public void SwitchPartition(int sourcePartitionNumber, Microsoft.SqlServer.Management.Smo.Table targetTable);
member this.SwitchPartition : int * Microsoft.SqlServer.Management.Smo.Table -> unit
Public Sub SwitchPartition (sourcePartitionNumber As Integer, targetTable As Table)
Paramètres
- sourcePartitionNumber
- Int32
- targetTable
- Table
S’applique à
SwitchPartition(Table)
Bascule la table actuelle vers la table spécifiée avec targetTable.
public void SwitchPartition(Microsoft.SqlServer.Management.Smo.Table targetTable);
member this.SwitchPartition : Microsoft.SqlServer.Management.Smo.Table -> unit
Public Sub SwitchPartition (targetTable As Table)
Paramètres
- targetTable
- Table
S’applique à
SwitchPartition(Table, Int32)
Bascule la table actuelle vers la partition avec le numéro de partition targetPartitionNumber de la table spécifiée avec targetTable.
public void SwitchPartition(Microsoft.SqlServer.Management.Smo.Table targetTable, int targetPartitionNumber);
member this.SwitchPartition : Microsoft.SqlServer.Management.Smo.Table * int -> unit
Public Sub SwitchPartition (targetTable As Table, targetPartitionNumber As Integer)
Paramètres
- targetTable
- Table
- targetPartitionNumber
- Int32