Condividi tramite


SqlDirectConnection Constructors

Definition

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

Applies to