Partager via


CopyTo méthode (PublisherMonitorCollection, Int32)

Makes a copy of the collection.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Sub CopyTo ( _
    replicationCollection As PublisherMonitorCollection, _
    index As Integer _
)
'Utilisation
Dim instance As PublisherMonitorCollection
Dim replicationCollection As PublisherMonitorCollection
Dim index As Integer

instance.CopyTo(replicationCollection, _
    index)
public void CopyTo(
    PublisherMonitorCollection replicationCollection,
    int index
)
public:
void CopyTo(
    PublisherMonitorCollection^ replicationCollection, 
    int index
)
member CopyTo : 
        replicationCollection:PublisherMonitorCollection * 
        index:int -> unit 
public function CopyTo(
    replicationCollection : PublisherMonitorCollection, 
    index : int
)

Paramètres

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