Proprietà ConnectionSettings.Login
Gets or sets the logon required to establish a connection with the instance of the server.
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Public Property Login As String
Get
Set
'Utilizzo
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)
Valore proprietà
Tipo: System.String
A String value that specifies the logon required to establish a connection with the instance of the server.
Esempi
Connessione a un'istanza di SQL Server