다음을 통해 공유


SwitchPartition 메서드 (Table, Int32)

지정한 대상 테이블에 있는 지정한 파티션 번호의 파티션으로 테이블을 전환합니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub SwitchPartition ( _
    targetTable As Table, _
    targetPartitionNumber As Integer _
)
‘사용 방법
Dim instance As Table
Dim targetTable As Table
Dim targetPartitionNumber As Integer

instance.SwitchPartition(targetTable, _
    targetPartitionNumber)
public void SwitchPartition(
    Table targetTable,
    int targetPartitionNumber
)
public:
void SwitchPartition(
    Table^ targetTable, 
    int targetPartitionNumber
)
member SwitchPartition : 
        targetTable:Table * 
        targetPartitionNumber:int -> unit 
public function SwitchPartition(
    targetTable : Table, 
    targetPartitionNumber : int
)

매개 변수