DistributionPublicationCollection.CopyTo Method (DistributionPublicationCollection, Int32)
Makes a copy of the collection.
Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
replicationCollection As DistributionPublicationCollection, _
index As Integer _
)
public void CopyTo (
DistributionPublicationCollection replicationCollection,
int index
)
public:
void CopyTo (
DistributionPublicationCollection^ replicationCollection,
int index
)
public void CopyTo (
DistributionPublicationCollection replicationCollection,
int index
)
public function CopyTo (
replicationCollection : DistributionPublicationCollection,
index : int
)
Paramètres
- replicationCollection
A DistributionPublicationCollection object that is to receive the copy of the original collection.
- index
An Int32 value that specifies the index position within the original collection to start copying.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
DistributionPublicationCollection Class
DistributionPublicationCollection Members
Microsoft.SqlServer.Replication Namespace