Metodo SwitchPartition (Int32, Table)

Sposta la partizione specificata della tabella nella tabella di destinazione specificata (presupponendo che la tabella di destinazione non sia partizionata).

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

Sintassi

'Dichiarazione
Public Sub SwitchPartition ( _
    sourcePartitionNumber As Integer, _
    targetTable As Table _
)
'Utilizzo
Dim instance As Table
Dim sourcePartitionNumber As Integer
Dim targetTable As Table

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

Parametri

  • sourcePartitionNumber
    Tipo: System. . :: . .Int32
    Valore Int32 che specifica il numero di partizione della partizione di origine.