CopyTo-Methode (DistributionPublisherCollection, 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 DistributionPublisherCollection, _
index As Integer _
)
'Usage
Dim instance As DistributionPublisherCollection
Dim replicationCollection As DistributionPublisherCollection
Dim index As Integer
instance.CopyTo(replicationCollection, _
index)
public void CopyTo(
DistributionPublisherCollection replicationCollection,
int index
)
public:
void CopyTo(
DistributionPublisherCollection^ replicationCollection,
int index
)
member CopyTo :
replicationCollection:DistributionPublisherCollection *
index:int -> unit
public function CopyTo(
replicationCollection : DistributionPublisherCollection,
index : int
)
Parameter
- replicationCollection
Typ: Microsoft.SqlServer.Replication. . :: . .DistributionPublisherCollection
A DistributionPublisherCollection object that is to receive the copy of the original collection.
- index
Typ: System. . :: . .Int32
An Int32 value that specifies the index position within the original collection to start copying.
Hinweise
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.