Propriété ConnectionSettings.Login
Gets or sets the logon required to establish a connection with the instance of the server.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Property Login As String
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System.String
A String value that specifies the logon required to establish a connection with the instance of the server.
Exemples
Connexion à une instance de SQL Server