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
- array
Type: array<Microsoft.SqlServer.Management.Smo.PhysicalPartition[]
An array of PhysicalPartition objects.
- partitionNumberStart
Type: System.Int32
An Int32 value that specifies the index value from where to start the copy.