SqlConnection Constructor
.NET Framework 4
Initializes a new instance of the SqlConnection class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| 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. |