SqlDirectConnection 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
SqlDirectConnection() |
Constructs a new SqlDirectConnection with no SqlConnection |
SqlDirectConnection(SqlConnection) |
Constructs a new SqlDirectConnection whose properties are calculated from the given SqlConnection |
SqlDirectConnection(SqlConnection) |
SqlDirectConnection()
Constructs a new SqlDirectConnection with no SqlConnection
public SqlDirectConnection ();
Public Sub New ()
Applies to
SqlDirectConnection(SqlConnection)
Constructs a new SqlDirectConnection whose properties are calculated from the given SqlConnection
public SqlDirectConnection (Microsoft.Data.SqlClient.SqlConnection sqlConnection);
new Microsoft.SqlServer.Management.Common.SqlDirectConnection : Microsoft.Data.SqlClient.SqlConnection -> Microsoft.SqlServer.Management.Common.SqlDirectConnection
Public Sub New (sqlConnection As SqlConnection)
Parameters
- sqlConnection
- SqlConnection
Applies to
SqlDirectConnection(SqlConnection)
public SqlDirectConnection (System.Data.SqlClient.SqlConnection sqlConnection);
new Microsoft.SqlServer.Management.Common.SqlDirectConnection : System.Data.SqlClient.SqlConnection -> Microsoft.SqlServer.Management.Common.SqlDirectConnection
Public Sub New (sqlConnection As SqlConnection)
Parameters
- sqlConnection
- SqlConnection