Freigeben über


SnapshotGenerationAgent.DistributorLogin-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Property DistributorLogin As String 
    Get 
    Set
'Usage
Dim instance As SnapshotGenerationAgent 
Dim value As String 

value = instance.DistributorLogin

instance.DistributorLogin = value
public string DistributorLogin { get; set; }
public:
virtual property String^ DistributorLogin {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract DistributorLogin : string with get, set 
override DistributorLogin : string with get, set
final function get DistributorLogin () : String 
final function set DistributorLogin (value : String)

Eigenschaftswert

Typ: System.String
A String value that is the login name.

Implementiert

ISnapshotGenerationAgent.DistributorLogin

Hinweise

Verwenden Sie nach Möglichkeit die Windows-Authentifizierung.

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

Siehe auch

Verweis

SnapshotGenerationAgent Klasse

Microsoft.SqlServer.Replication-Namespace