ConnectionSettings.Login Property

Gets or sets the logon required to establish a connection with the instance of the server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Property Login As String
    Get
    Set
'Usage
Dim instance As ConnectionSettings
Dim value As String

value = instance.Login

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

Property Value

Type: System.String
A String value that specifies the logon required to establish a connection with the instance of the server.