Table.SwitchPartition 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SwitchPartition(Int32, Table, Int32) |
將目前資料表中帶有 sourcePartitionNumber 分割區號的分割區,切換到以 targetTable 指定的分割區號為 targetPartitionNumber 的分割區。 |
| SwitchPartition(Int32, Table) |
將當前資料表的分割區號 sourcePartitionNumber 切換到以 targetTableau 指定的資料表。 這假設目標資料表沒有被分割。 |
| SwitchPartition(Table) |
將目前的資料表切換到用 targetTable 指定的資料表。 |
| SwitchPartition(Table, Int32) |
將目前資料表切換到以 targetTableau 指定的分割區號 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 切換到以 targetTableau 指定的資料表。 這假設目標資料表沒有被分割。
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)
將目前資料表切換到以 targetTableau 指定的分割區號 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