Partager via


Login propriété

Gets or sets the name of the Microsoft Windows security account.

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

Syntaxe

'Déclaration
Property Login As String
    Get
    Set
'Utilisation
Dim instance As IProcessSecurityContext
Dim value As String

value = instance.Login

instance.Login = value
string Login { get; set; }
property String^ Login {
    String^ get ();
    void set (String^ value);
}
abstract Login : string with get, set
function get Login () : String
function set Login (value : String)

Valeur de la propriété

Type : System. . :: . .String
A String value.

Notes

The Windows account must have sufficient privileges on the computer to start the replication agent. For more information, see Modèle de sécurité de l'Agent de réplication.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.