Partager via


DistributorLogin propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Property DistributorLogin As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Implémente

ISnapshotGenerationAgent. . :: . .DistributorLogin

Notes

Lorsque c'est possible, utilisez l'authentification Windows.

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