DatabaseReplicaStateCollection.CopyTo(DatabaseReplicaState[], Int32) DatabaseReplicaStateCollection.CopyTo(DatabaseReplicaState[], Int32) DatabaseReplicaStateCollection.CopyTo(DatabaseReplicaState[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <Microsoft::SqlServer::Management::Smo::DatabaseReplicaState ^> ^ array, int index);
public void CopyTo (Microsoft.SqlServer.Management.Smo.DatabaseReplicaState[] array, int index);
Public Sub CopyTo (array As DatabaseReplicaState(), index As Integer)
Parameters
array
DatabaseReplicaState[]

An array objects.

index
Int32 Int32 Int32

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

Applies to