次の方法で共有


Table.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
)

パラメーター

使用例

ファイルとファイル グループを使用したデータの格納

関連項目

参照

Table クラス

SwitchPartition オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

テーブルの作成、変更、および削除

テーブル

sp_addmergepartition (Transact-SQL)