Table.SwitchPartition 메서드 (Table, Int32)
Switches the table to the partition with the specified partition number of the specified target table.
네임스페이스: 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
)
매개 변수
- targetTable
유형: Microsoft.SqlServer.Management.Smo.Table
A Table object value that specifies the table that is in the required partition.
- targetPartitionNumber
유형: System.Int32
An Int32 value that specifies the partition number of the target partition.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스