DistributionPublicationCollection.CopyTo Method

Definition

Makes a copy of the collection.

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

Parameters

replicationCollection
DistributionPublicationCollection

A DistributionPublicationCollection 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