Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AvailabilityGroupCollection.CopyTo Method

SQL Server 2012

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.