Export (0) Print
Expand All

SqlConnection Constructor

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
Public method SqlConnection() Initializes a new instance of the SqlConnection class.
Public method SqlConnection(String) Initializes a new instance of the SqlConnection class when given a string that contains the connection string.
Public method 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.
Top
Show:
© 2014 Microsoft