DistributionDatabaseCollection.CopyTo Method (DistributionDatabaseCollection, Int32)
Makes a copy of the collection.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
replicationCollection As DistributionDatabaseCollection, _
index As Integer _
)
'Usage
Dim instance As DistributionDatabaseCollection
Dim replicationCollection As DistributionDatabaseCollection
Dim index As Integer
instance.CopyTo(replicationCollection, _
index)
public void CopyTo(
DistributionDatabaseCollection replicationCollection,
int index
)
public:
void CopyTo(
DistributionDatabaseCollection^ replicationCollection,
int index
)
member CopyTo :
replicationCollection:DistributionDatabaseCollection *
index:int -> unit
public function CopyTo(
replicationCollection : DistributionDatabaseCollection,
index : int
)
Parameters
- replicationCollection
Type: Microsoft.SqlServer.Replication.DistributionDatabaseCollection
A DistributionArticleCollection object that is to receive the copy of the original collection.
- index
Type: System.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.