Méthode CopyTo (DistributionPublicationCollection, Int32)
Makes a copy of the collection.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
replicationCollection As DistributionPublicationCollection, _
index As Integer _
)
'Utilisation
Dim instance As DistributionPublicationCollection
Dim replicationCollection As DistributionPublicationCollection
Dim index As Integer
instance.CopyTo(replicationCollection, _
index)
public void CopyTo(
DistributionPublicationCollection replicationCollection,
int index
)
public:
void CopyTo(
DistributionPublicationCollection^ replicationCollection,
int index
)
member CopyTo :
replicationCollection:DistributionPublicationCollection *
index:int -> unit
public function CopyTo(
replicationCollection : DistributionPublicationCollection,
index : int
)
Paramètres
- replicationCollection
Type : Microsoft.SqlServer.Replication. . :: . .DistributionPublicationCollection
A DistributionPublicationCollection 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.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.