System.Data.Generic
ConnectionStringBuilder Class |
Builds a connection to a SQL server.

Namespace: System.Data.Generic
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)

The ConnectionStringBuilder type exposes the following members.

Name | Description | |
---|---|---|
![]() | ConnectionStringBuilder(String, String) |
Returns a new instance of the ConnectionStringBuilder class.
|
![]() | ConnectionStringBuilder(String, String, NetworkCredential) |
Returns a new instance of the ConnectionStringBuilder class, specifying credentials.
|

Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetSqlExpress |
Returns a connectionstring for a SQL Express.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString |
Returns the connection string.
(Overrides ObjectToString.) |

Name | Description | |
---|---|---|
![]() | Credentials |
Gets or sets the username and password of the connection.
|
![]() | Database |
Gets or sets the value of the database.
|
![]() | IntegratedSecurity |
Gets or sets if the connection use integrated security capabilities.
|
![]() | MultipleActiveResultSets |
Gets or sets if the connection enables multiple active resultsets.
|
![]() | Server |
Gets the value of the server.
|
![]() | TrustedConnection |
Gets or sets if the connection use trusted connection capabilities.
|

