Table.SwitchPartition メソッド

定義

オーバーロード

名前 説明
SwitchPartition(Int32, Table, Int32)

現在のテーブルのパーティション番号 sourcePartitionNumber を持つパーティションを、targetTable で指定されたテーブルのパーティション番号 targetPartitionNumber のパーティションに切り替えます。

SwitchPartition(Int32, Table)

現在のテーブルのパーティション番号 sourcePartitionNumber を持つパーティションを、targetTable で指定されたテーブルに切り替えます。 これは、ターゲット テーブルがパーティション分割されていないことを前提としています。

SwitchPartition(Table)

現在のテーブルを targetTable で指定されたテーブルに切り替えます。

SwitchPartition(Table, Int32)

targetTable で指定されたテーブルのパーティション番号 targetPartitionNumber を使用して、現在のテーブルをパーティションに切り替えます。

SwitchPartition(Int32, Table, Int32)

現在のテーブルのパーティション番号 sourcePartitionNumber を持つパーティションを、targetTable で指定されたテーブルのパーティション番号 targetPartitionNumber のパーティションに切り替えます。

public void SwitchPartition(int sourcePartitionNumber, Microsoft.SqlServer.Management.Smo.Table targetTable, int targetPartitionNumber);
member this.SwitchPartition : int * Microsoft.SqlServer.Management.Smo.Table * int -> unit
Public Sub SwitchPartition (sourcePartitionNumber As Integer, targetTable As Table, targetPartitionNumber As Integer)

パラメーター

sourcePartitionNumber
Int32
targetTable
Table
targetPartitionNumber
Int32

適用対象

SwitchPartition(Int32, Table)

現在のテーブルのパーティション番号 sourcePartitionNumber を持つパーティションを、targetTable で指定されたテーブルに切り替えます。 これは、ターゲット テーブルがパーティション分割されていないことを前提としています。

public void SwitchPartition(int sourcePartitionNumber, Microsoft.SqlServer.Management.Smo.Table targetTable);
member this.SwitchPartition : int * Microsoft.SqlServer.Management.Smo.Table -> unit
Public Sub SwitchPartition (sourcePartitionNumber As Integer, targetTable As Table)

パラメーター

sourcePartitionNumber
Int32
targetTable
Table

適用対象

SwitchPartition(Table)

現在のテーブルを targetTable で指定されたテーブルに切り替えます。

public void SwitchPartition(Microsoft.SqlServer.Management.Smo.Table targetTable);
member this.SwitchPartition : Microsoft.SqlServer.Management.Smo.Table -> unit
Public Sub SwitchPartition (targetTable As Table)

パラメーター

targetTable
Table

適用対象

SwitchPartition(Table, Int32)

targetTable で指定されたテーブルのパーティション番号 targetPartitionNumber を使用して、現在のテーブルをパーティションに切り替えます。

public void SwitchPartition(Microsoft.SqlServer.Management.Smo.Table targetTable, int targetPartitionNumber);
member this.SwitchPartition : Microsoft.SqlServer.Management.Smo.Table * int -> unit
Public Sub SwitchPartition (targetTable As Table, targetPartitionNumber As Integer)

パラメーター

targetTable
Table
targetPartitionNumber
Int32

適用対象