共用方式為


SwitchPartition 方法 (Table)

Switches the partition of the table to the specified target table.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub SwitchPartition ( _
    targetTable As Table _
)
'用途
Dim instance As Table
Dim targetTable As Table

instance.SwitchPartition(targetTable)
public void SwitchPartition(
    Table targetTable
)
public:
void SwitchPartition(
    Table^ targetTable
)
member SwitchPartition : 
        targetTable:Table -> unit 
public function SwitchPartition(
    targetTable : Table
)

參數