Поделиться через


Свойство ConnectionSettings.Login

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

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Property Login As String 
    Get 
    Set
'Применение
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)

Значение свойства

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

Примеры

Соединение с экземпляром SQL Server

См. также

Справочник

ConnectionSettings Класс

Пространство имен Microsoft.SqlServer.Management.Common