Compartilhar via


Método Table.SwitchPartition (Table)

Switches the partition of the table to the specified target table.

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

Sintaxe

'Declaração
Public Sub SwitchPartition ( _
    targetTable As Table _
)
'Uso
Dim instance As Table 
Dim targetTable As Table

instance.SwitchPartition(targetTable)
public void SwitchPartition(
    Table targetTable
)
public:
void SwitchPartition(
    Table^ targetTable
)
member SwitchPartition : 
        targetTable:Table -> unit
public function SwitchPartition(
    targetTable : Table
)

Parâmetros

Exemplos

Usando grupos de arquivos e arquivos para armazenar dados

Consulte também

Referência

Table Classe

Sobrecarregado SwitchPartition

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Criando, alterando e removendo tabelas

Tabelas

sp_addmergepartition (Transact-SQL)