Freigeben über


DistributorLogin-Eigenschaft

Ruft den Anmeldenamen ab, der beim Herstellen einer Verbindung mit dem Verteiler mithilfe der SQL Server-Authentifizierung verwendet wird, oder legt diesen fest.

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 MergeSynchronizationAgent
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)

Eigenschaftswert

Typ: System. . :: . .String
Ein String-Wert, der der Anmeldename ist.

Implementiert

IMergeSynchronizationAgent. . :: . .DistributorLogin

Hinweise

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.