AvailabilityReplicaCollection.CopyTo Method (AvailabilityReplica[], Int32)

 

Copies the set of connections exposed in the Visual Studio Server Explorer to an array, starting at the specified array index.

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

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

Parameters

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

Array into which the connections are copied.

index
Type: System.Int32

The index into the array at which copying should begin.

Return to top
Show: