DbConnectionStringBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DbConnectionStringBuilder class.
Overloads
DbConnectionStringBuilder() |
Initializes a new instance of the DbConnectionStringBuilder class. |
DbConnectionStringBuilder(Boolean) |
Initializes a new instance of the DbConnectionStringBuilder class, optionally using ODBC rules for quoting values. |
DbConnectionStringBuilder()
- Source:
- DbConnectionStringBuilder.cs
- Source:
- DbConnectionStringBuilder.cs
- Source:
- DbConnectionStringBuilder.cs
Initializes a new instance of the DbConnectionStringBuilder class.
public:
DbConnectionStringBuilder();
public DbConnectionStringBuilder ();
Public Sub New ()
See also
Applies to
DbConnectionStringBuilder(Boolean)
- Source:
- DbConnectionStringBuilder.cs
- Source:
- DbConnectionStringBuilder.cs
- Source:
- DbConnectionStringBuilder.cs
Initializes a new instance of the DbConnectionStringBuilder class, optionally using ODBC rules for quoting values.
public:
DbConnectionStringBuilder(bool useOdbcRules);
public DbConnectionStringBuilder (bool useOdbcRules);
new System.Data.Common.DbConnectionStringBuilder : bool -> System.Data.Common.DbConnectionStringBuilder
Public Sub New (useOdbcRules As Boolean)
Parameters
- useOdbcRules
- Boolean
true
to use {} to delimit fields; false
to use quotation marks.
Remarks
If useOdbcRules
is true
, this DbConnectionStringBuilder uses ODBC rules for quoting values (surrounding values with curly braces ({})). If useOdbcRules
is false
, this DbConnectionStringBuilder uses quotation mark character ("") to delimit values.