Share via


SwitchPartition Método (Table, Int32)

Cambia la tabla a la partición cuyo número se especifica de la tabla de destino especificada.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub SwitchPartition ( _
    targetTable As Table, _
    targetPartitionNumber As Integer _
)
'Uso
Dim instance As Table
Dim targetTable As Table
Dim targetPartitionNumber As Integer

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

Parámetros

  • targetPartitionNumber
    Tipo: System. . :: . .Int32
    Valor Int32 que especifica el número de partición de la partición de destino.