DatabaseReplicaStateCollection.CopyTo Method (DatabaseReplicaState[], Int32)

 

Copies the collection objects to a one-dimensional array beginning at the index value specified.

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

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

Parameters

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

An array objects.

index
Type: System.Int32

A value that specifies the index position to start the copy.

Return to top
Show: