MergeSynchronizationAgent.DistributorLogin 属性

定义

获取或设置使用SQL Server认证连接分发器时使用的登录名。

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

属性值

一个 String 值,就是登录名。

实现

注解

如果该 DistributorSecurityMode 属性被设置为 Standard,则该性质是必需的。

对于推送订阅,合并代理 总是通过 Windows 集成认证与本地分发器连接,这一特性被忽略。

如果没有指定分配器的连接属性,则假设Publisher和Distributor是SQL Server的同一实例,连接分发器时使用Publisher连接属性。

适用于