Aracılığıyla paylaş


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

'Bildirim
Public Property Login As String
    Get
    Set
'Kullanım
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.

Examples

Connecting to an Instance of SQL Server

See Also

Reference

ConnectionSettings Class

Microsoft.SqlServer.Management.Common Namespace