SwitchPartition 方法 (Table, Int32)

将表切换到指定目标表的具有指定分区号的分区。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub SwitchPartition ( _
    targetTable As Table, _
    targetPartitionNumber As Integer _
)
用法
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
)

参数