SqlConnection Constructor
.NET Framework (current version)
Initializes a new instance of the SqlConnection class.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | SqlConnection() | Initializes a new instance of the SqlConnection class. |
![]() | SqlConnection(String^) | Initializes a new instance of the SqlConnection class when given a string that contains the connection string. |
![]() | SqlConnection(String^, SqlCredential^) | Initializes a new instance of the SqlConnection class given a connection string, that does not use Integrated Security = true and a SqlCredential object that contains the user ID and password. |
Show:
