MergeSynchronizationAgent.Distributor 属性

定义

获取或设置作为订阅分发器的 Microsoft SQL Server 实例的名称。

public:
 virtual property System::String ^ Distributor { System::String ^ get(); void set(System::String ^ value); };
public virtual string Distributor { get; set; }
member this.Distributor : string with get, set
Public Overridable Property Distributor As String

属性值

这个 String 数值就是分销商的名称。

实现

注解

Distributor 是可选属性。

分发器是 SQL Server 的实例,快照默认存储在上面,并记录复制历史和统计数据。

如果 DistributorNetwork 指定了和 DistributorAddress 属性,连接分配器时将使用这些属性代替 Distributor 属性。

如果未指定分配器连接属性,则假设Publisher和分配器位于同一实例SQL Server上,合并代理连接到分配器时将使用Publisher连接属性。

适用于