PhysicalPartitionCollection.CopyTo Method (array<PhysicalPartition[], Int32)

Copies the collection objects to a one-dimensional array starting at the specified index value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As PhysicalPartition(), _
    partitionNumberStart As Integer _
)
'Usage
Dim instance As PhysicalPartitionCollection
Dim array As PhysicalPartition()
Dim partitionNumberStart As Integer

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

Parameters