Конструктор SqlConnectionInfo (String, String, String)

Initializes a new instance of the SqlConnectionInfo class.

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

Синтаксис

'Декларация
Public Sub New ( _
    serverName As String, _
    userName As String, _
    password As String _
)
'Применение
Dim serverName As String 
Dim userName As String 
Dim password As String 

Dim instance As New SqlConnectionInfo(serverName, _
    userName, password)
public SqlConnectionInfo(
    string serverName,
    string userName,
    string password
)
public:
SqlConnectionInfo(
    String^ serverName, 
    String^ userName, 
    String^ password
)
new : 
        serverName:string * 
        userName:string * 
        password:string -> SqlConnectionInfo
public function SqlConnectionInfo(
    serverName : String, 
    userName : String, 
    password : String
)

Параметры

  • serverName
    Тип: System.String
    A String object value that specifies the instance of SQL Server.
  • userName
    Тип: System.String
    A String object value that specifies the user who is connected to the instance of SQL Server.
  • password
    Тип: System.String
    A String object value that specifies the password supplied by the user to connect to the instance of SQL Server.

См. также

Справочник

SqlConnectionInfo Класс

Перегрузка SqlConnectionInfo

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