Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.