Share via


ReplicationDatabaseCollection.CopyTo Method

Definition

Makes a copy of the collection.

public:
 void CopyTo(Microsoft::SqlServer::Replication::ReplicationDatabaseCollection ^ replicationCollection, int index);
public void CopyTo (Microsoft.SqlServer.Replication.ReplicationDatabaseCollection replicationCollection, int index);
override this.CopyTo : Microsoft.SqlServer.Replication.ReplicationDatabaseCollection * int -> unit
Public Sub CopyTo (replicationCollection As ReplicationDatabaseCollection, index As Integer)

Parameters

replicationCollection
ReplicationDatabaseCollection

A ReplicationDatabaseCollection object that is to receive the copy of the original collection.

index
Int32

An Int32 value that specifies the index position within the original collection to start copying.

Remarks

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Applies to