SqlConnectionInfoWithConnection 构造函数

定义

重载

SqlConnectionInfoWithConnection()

public SqlConnectionInfoWithConnection();
Public Sub New ()

适用于

SqlConnectionInfoWithConnection(SqlConnection)

public SqlConnectionInfoWithConnection(Microsoft.Data.SqlClient.SqlConnection sqlConnection);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection : Microsoft.Data.SqlClient.SqlConnection -> Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection
Public Sub New (sqlConnection As SqlConnection)

参数

sqlConnection
SqlConnection

适用于

SqlConnectionInfoWithConnection(SqlConnection)

public SqlConnectionInfoWithConnection(System.Data.SqlClient.SqlConnection sqlConnection);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection : System.Data.SqlClient.SqlConnection -> Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection
Public Sub New (sqlConnection As SqlConnection)

参数

sqlConnection
SqlConnection

适用于

SqlConnectionInfoWithConnection(String)

public SqlConnectionInfoWithConnection(string serverName);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection : string -> Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection
Public Sub New (serverName As String)

参数

serverName
String

适用于

SqlConnectionInfoWithConnection(String, String, String)

public SqlConnectionInfoWithConnection(string serverName, string userName, string password);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection : string * string * string -> Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection
Public Sub New (serverName As String, userName As String, password As String)

参数

serverName
String
userName
String
password
String

适用于