SqlConnectionInfoWithConnection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SqlConnectionInfoWithConnection()
public SqlConnectionInfoWithConnection ();
Public Sub New ()
Applies to
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)
Parameters
- sqlConnection
- SqlConnection
Applies to
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)
Parameters
- sqlConnection
- SqlConnection
Applies to
SqlConnectionInfoWithConnection(String)
public SqlConnectionInfoWithConnection (string serverName);
new Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection : string -> Microsoft.SqlServer.Management.Common.SqlConnectionInfoWithConnection
Public Sub New (serverName As String)
Parameters
- serverName
- String
Applies to
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)
Parameters
- serverName
- String
- userName
- String
- password
- String