MergeSynchronizationAgent.DistributorLogin Property


Gets or sets the login name that is used when connecting to the Distributor using SQL Server Authentication.

 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

Property Value


A String value that is the login name.



This property is required if the DistributorSecurityMode property is set to Standard.

For a push subscription, the Merge Agent always connects to the Distributor locally by using Windows Integrated Authentication, and this property is ignored.

If the Distributor connection properties are not specified, it is assumed that the Publisher and Distributor are the same instance of SQL Server and that the Publisher connection properties are used when connecting to the Distributor.

Applies to