Table.SwitchPartition Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| SwitchPartition(Int32, Table, Int32) |
Cambia la partición con el número de partición sourcePartitionNumber de la tabla actual a la partición con el número de partición targetPartitionNumber de la tabla especificada con targetTable. |
| SwitchPartition(Int32, Table) |
Cambia la partición con el número de partición sourcePartitionNumber de la tabla actual a la tabla especificada con targetTable. Esto supone que la tabla de destino no está particionada. |
| SwitchPartition(Table) |
Cambia la tabla actual a la tabla especificada con targetTable. |
| SwitchPartition(Table, Int32) |
Cambia la tabla actual a la partición con el número de partición targetPartitionNumber de la tabla especificada con targetTable. |
SwitchPartition(Int32, Table, Int32)
Cambia la partición con el número de partición sourcePartitionNumber de la tabla actual a la partición con el número de partición targetPartitionNumber de la tabla especificada con 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)
Parámetros
- sourcePartitionNumber
- Int32
- targetTable
- Table
- targetPartitionNumber
- Int32
Se aplica a
SwitchPartition(Int32, Table)
Cambia la partición con el número de partición sourcePartitionNumber de la tabla actual a la tabla especificada con targetTable. Esto supone que la tabla de destino no está particionada.
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)
Parámetros
- sourcePartitionNumber
- Int32
- targetTable
- Table
Se aplica a
SwitchPartition(Table)
Cambia la tabla actual a la tabla especificada con 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)
Parámetros
- targetTable
- Table
Se aplica a
SwitchPartition(Table, Int32)
Cambia la tabla actual a la partición con el número de partición targetPartitionNumber de la tabla especificada con 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)
Parámetros
- targetTable
- Table
- targetPartitionNumber
- Int32