다음을 통해 공유


CopyTo 메서드 (PhysicalPartition[], Int32, Int32)

Copies the collection objects to a one-dimensional array, starting and ending with the specified partition numbers.

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

구문

‘선언
Public Sub CopyTo ( _
    array As PhysicalPartition(), _
    partitionNumberStart As Integer, _
    partitionNumberEnd As Integer _
)
‘사용 방법
Dim instance As PhysicalPartitionCollection
Dim array As PhysicalPartition()
Dim partitionNumberStart As Integer
Dim partitionNumberEnd As Integer

instance.CopyTo(array, partitionNumberStart, _
    partitionNumberEnd)
public void CopyTo(
    PhysicalPartition[] array,
    int partitionNumberStart,
    int partitionNumberEnd
)
public:
void CopyTo(
    array<PhysicalPartition^>^ array, 
    int partitionNumberStart, 
    int partitionNumberEnd
)
member CopyTo : 
        array:PhysicalPartition[] * 
        partitionNumberStart:int * 
        partitionNumberEnd:int -> unit 
public function CopyTo(
    array : PhysicalPartition[], 
    partitionNumberStart : int, 
    partitionNumberEnd : int
)

매개 변수