مشاركة عبر


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

  • partitionNumberStart
    Type: System.Int32
    An Int32 value that specifies the index value from where to start the copy.

Examples

Using Collections

See Also

Reference

PhysicalPartitionCollection Class

CopyTo Overload

Microsoft.SqlServer.Management.Smo Namespace