共用方式為


MergePullSubscription.EnumSynchronizationPartners 方法

Returns the Alternate Synchronization Partners

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

語法

'宣告
Public Function EnumSynchronizationPartners As ArrayList
'用途
Dim instance As MergePullSubscription 
Dim returnValue As ArrayList 

returnValue = instance.EnumSynchronizationPartners()
public ArrayList EnumSynchronizationPartners()
public:
ArrayList^ EnumSynchronizationPartners()
member EnumSynchronizationPartners : unit -> ArrayList
public function EnumSynchronizationPartners() : ArrayList

傳回值

型別:System.Collections.ArrayList
An ArrayList of SynchronizationPartner objects.

備註

The alternate synchronization partners feature of merge replication has been deprecated for Microsoft SQL Server 2005.

The EnumSynchronizationPartners method can only be called by members of the publication access list (PAL) for the publication.

Calling EnumSynchronizationPartners is equivalent to executing sp_helpmergealternatepublisher.

請參閱

參考

MergePullSubscription 類別

Microsoft.SqlServer.Replication 命名空間