Bewerken

Share via


DbConnectionStringBuilder Constructors

Definition

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.

See also

Applies to