TechNet
Export (0) Print
Expand All

AvailabilityGroupCollection.CopyTo Method (AvailabilityGroup[], Int32)

 

Copies the current availability group collection to the specified availability group array at the specified index.

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

public void CopyTo(
	AvailabilityGroup[] array,
	int index
)

Parameters

array
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup[]

The array of availability group to which the collection will be copied.

index
Type: System.Int32

The index of the availability group array at which the collection groups will be copied.

Return to top
Show:
© 2016 Microsoft