Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the login name that is used when connecting to the distributor by using SQL Server Authentication.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Public Overridable Property DistributorLogin As String
Get
Set
'Usage
Dim instance As TransSynchronizationAgent
Dim value As String
value = instance.DistributorLogin
instance.DistributorLogin = value
public virtual string DistributorLogin { get; set; }
public:
virtual property String^ DistributorLogin {
String^ get ();
void set (String^ value);
}
abstract DistributorLogin : string with get, set
override DistributorLogin : string with get, set
function get DistributorLogin () : String
function set DistributorLogin (value : String)
Property Value
Type: System.String
The login name.
Implements
ITransSynchronizationAgent.DistributorLogin
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.