共用方式為


SwitchPartition 方法 (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
)

參數