共用方式為


TransSynchronizationAgent.DistributorLogin Property

Definition

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

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

Property Value

The login name.

Implements

Remarks

When possible, use Windows Authentication.

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

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

Applies to