Export (0) Print
Expand All

AvailabilityGroupCollection.CopyTo Method

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: Int32
The index of the availability group array at which the collection groups will be copied.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft