EnumSynchronizationPartners 方法
Returns the alternate synchronization partners for this merge publication.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public Function EnumSynchronizationPartners As ArrayList
'用途
Dim instance As MergePublication
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 AlternateSynchronizationPartner objects.
備註
[!附註]
未來的 Microsoft SQL Server 版本將移除這項功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。
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.
The EnumSynchronizationPartners method is available only for instances of Microsoft SQL Server 2000 and SQL Server 2005.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.