Share via


TransPublicationCollection.CopyTo(TransPublicationCollection, Int32) Method

Definition

Makes a copy of the collection.

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

Parameters

replicationCollection
TransPublicationCollection

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