Compartilhar via


Método SwitchPartition (Table, Int32)

Alterna a tabela para a partição com o número de partição especificado da tabela de destino especificada.

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

Sintaxe

'Declaração
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