다음을 통해 공유


SwitchPartition 메서드 (Int32, Table)

지정한 대상 테이블로 테이블의 지정한 파티션을 전환합니다(대상 테이블이 분할되지 않은 경우).

네임스페이스:  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
)

매개 변수