Table.SwitchPartition 메서드 (Int32, Table)
Switches the specified partition of the table to the specified target table specified (assuming the target table is not partitioned).
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub SwitchPartition ( _
sourcePartitionNumber As Integer, _
targetTable As Table _
)
‘사용 방법
Dim instance As Table
Dim sourcePartitionNumber As Integer
Dim targetTable As Table
instance.SwitchPartition(sourcePartitionNumber, _
targetTable)
public void SwitchPartition(
int sourcePartitionNumber,
Table targetTable
)
public:
void SwitchPartition(
int sourcePartitionNumber,
Table^ targetTable
)
member SwitchPartition :
sourcePartitionNumber:int *
targetTable:Table -> unit
public function SwitchPartition(
sourcePartitionNumber : int,
targetTable : Table
)
매개 변수
- sourcePartitionNumber
유형: System.Int32
An Int32 value that specifies the partition number of the source partition.
- targetTable
유형: Microsoft.SqlServer.Management.Smo.Table
A Table object value that specifies the table that is in the required partition.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스