共用方式為


SynchronizationPartner 類別

Represents an alternate Publisher used to synchronize a subscription to a merge publication.

繼承階層

System.Object
  Microsoft.SqlServer.Replication.SynchronizationPartner

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

語法

'宣告
Public NotInheritable Class SynchronizationPartner
'用途
Dim instance As SynchronizationPartner
public sealed class SynchronizationPartner
public ref class SynchronizationPartner sealed
[<SealedAttribute>]
type SynchronizationPartner =  class end
public final class SynchronizationPartner

SynchronizationPartner 型別公開下列成員。

建構函式

  名稱 說明
公用方法 SynchronizationPartner Creates a new instance of the SynchronizationPartner class.

上層

屬性

  名稱 說明
公用屬性 Description Gets or sets a description for the alternate Publisher.
公用屬性 Distributor Gets or sets the name of the Distributor.
公用屬性 Enabled Gets or sets whether or not this Publisher is enabled as an alternate synchronization partner.
公用屬性 Publication Gets or sets the name of the publication.
公用屬性 PublicationDB Gets or sets the name of the publication database.
公用屬性 Publisher Gets or sets the name of the alternate Publisher.
公用屬性 UserData Gets or sets an object property that allows users to attach their own data to this object.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

[!附註]

未來的 Microsoft SQL Server 版本將移除這項功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Replication 命名空間

EnumSynchronizationPartners