ReplicationDatabaseCollection.CopyTo(ReplicationDatabaseCollection, Int32) ReplicationDatabaseCollection.CopyTo(ReplicationDatabaseCollection, Int32) ReplicationDatabaseCollection.CopyTo(ReplicationDatabaseCollection, Int32) Method

Definition

Copies the collection to an array.

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);
Public Sub CopyTo (replicationCollection As ReplicationDatabaseCollection, index As Integer)
Parameters
replicationCollection
ReplicationDatabaseCollection ReplicationDatabaseCollection ReplicationDatabaseCollection

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

index
Int32 Int32 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