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