共用方式為


DistributionPublisherCollection.CopyTo 方法 (DistributionPublisherCollection, Int32)

Makes a copy of the collection.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Sub CopyTo ( _
    replicationCollection As DistributionPublisherCollection, _
    index As Integer _
)
'用途
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
)

參數

  • index
    型別:System.Int32
    An Int32 value that specifies the index position within the original collection to start copying.

備註

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

請參閱

參考

DistributionPublisherCollection 類別

CopyTo 多載

Microsoft.SqlServer.Replication 命名空間