Share via


DistributionSubscriptionCollection.CopyTo Method (DistributionSubscriptionCollection, 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 DistributionSubscriptionCollection, _
    index As Integer _
)
public void CopyTo (
    DistributionSubscriptionCollection replicationCollection,
    int index
)
public:
void CopyTo (
    DistributionSubscriptionCollection^ replicationCollection, 
    int index
)
public void CopyTo (
    DistributionSubscriptionCollection replicationCollection, 
    int index
)
public function CopyTo (
    replicationCollection : DistributionSubscriptionCollection, 
    index : int
)

Parameters

  • index
    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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DistributionSubscriptionCollection Class
DistributionSubscriptionCollection Members
Microsoft.SqlServer.Replication Namespace