Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Switches the specified source partition of the table to the specified target of the specified target table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub SwitchPartition ( _
sourcePartitionNumber As Integer, _
targetTable As Table, _
targetPartitionNumber As Integer _
)
'Usage
Dim instance As Table
Dim sourcePartitionNumber As Integer
Dim targetTable As Table
Dim targetPartitionNumber As Integer
instance.SwitchPartition(sourcePartitionNumber, _
targetTable, targetPartitionNumber)
public void SwitchPartition(
int sourcePartitionNumber,
Table targetTable,
int targetPartitionNumber
)
public:
void SwitchPartition(
int sourcePartitionNumber,
Table^ targetTable,
int targetPartitionNumber
)
member SwitchPartition :
sourcePartitionNumber:int *
targetTable:Table *
targetPartitionNumber:int -> unit
public function SwitchPartition(
sourcePartitionNumber : int,
targetTable : Table,
targetPartitionNumber : int
)
Parameter
- sourcePartitionNumber
Typ: System.Int32
An Int32 value that specifies the partition number of the source partition.
- targetTable
Typ: Microsoft.SqlServer.Management.Smo.Table
A Table object value that specifies the table that is in the required partition.
- targetPartitionNumber
Typ: System.Int32
An Int32 value that specifies the partition number of the target partition.
Beispiele
Verwenden von Dateigruppen und Dateien zur Speicherung von Daten
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace