Metodo SwitchPartition (Table, Int32)

Sposta la tabella nella partizione con il numero di partizione specificato nella tabella di destinazione specificata.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub SwitchPartition ( _
    targetTable As Table, _
    targetPartitionNumber As Integer _
)
'Utilizzo
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
)

Parametri

  • targetPartitionNumber
    Tipo: System. . :: . .Int32
    Valore Int32 che specifica il numero di partizione della partizione di destinazione.