Muokkaa

Jaa


OdbcConnectionStringBuilder Constructors

Definition

Initializes a new instance of the OdbcConnectionStringBuilder class.

Overloads

OdbcConnectionStringBuilder()

Initializes a new instance of the OdbcConnectionStringBuilder class.

OdbcConnectionStringBuilder(String)

Initializes a new instance of the OdbcConnectionStringBuilder class. The provided connection string provides the data for the instance's internal connection information.

OdbcConnectionStringBuilder()

Source:
OdbcConnectionStringbuilder.cs
Source:
OdbcConnectionStringbuilder.cs
Source:
OdbcConnectionStringbuilder.cs

Initializes a new instance of the OdbcConnectionStringBuilder class.

public:
 OdbcConnectionStringBuilder();
public OdbcConnectionStringBuilder ();
Public Sub New ()

See also

Applies to

OdbcConnectionStringBuilder(String)

Source:
OdbcConnectionStringbuilder.cs
Source:
OdbcConnectionStringbuilder.cs
Source:
OdbcConnectionStringbuilder.cs

Initializes a new instance of the OdbcConnectionStringBuilder class. The provided connection string provides the data for the instance's internal connection information.

public:
 OdbcConnectionStringBuilder(System::String ^ connectionString);
public OdbcConnectionStringBuilder (string? connectionString);
public OdbcConnectionStringBuilder (string connectionString);
new System.Data.Odbc.OdbcConnectionStringBuilder : string -> System.Data.Odbc.OdbcConnectionStringBuilder
Public Sub New (connectionString As String)

Parameters

connectionString
String

The basis for the object's internal connection information. Parsed into key/value pairs.

Exceptions

The connection string is incorrectly formatted (perhaps missing the required "=" within a key/value pair).

Remarks

You can pass a connection string in the constructor, or you can set the ConnectionString property explicitly. The behavior is the same either way.

See also

Applies to