Método Table.SwitchPartition (Table, Int32)
Switches the table to the partition with the specified partition number of 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, _
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
- targetTable
Tipo: Microsoft.SqlServer.Management.Smo.Table
A Table object value that specifies the table that is in the required partition.
- targetPartitionNumber
Tipo: System.Int32
An Int32 value that specifies the partition number of the target partition.
Exemplos
Usando grupos de arquivos e arquivos para armazenar dados
Consulte também
Referência
Sobrecarregado SwitchPartition
Namespace Microsoft.SqlServer.Management.Smo