RdmConnectionStringBuilder(string) Constructor

Syntax:

public RdmConnectionStringBuilder(string connectionString)

Description:

A constructor for the RdmConnectionStringBuilder class. Specifying a new RdmConnectionStringBuilder object with this constructor generates a new connection string object with the specified connection string. If the connection string is not valid an exception will be thrown. See the ConnectionString property for valid connection string syntax.

Parameters:

connectionString

Type: System.String

Specifies the connection string to use for connecting to the database.

Exceptions:

Exception Condition
ArgumentException One or more parts do not follow the <key>=<value> format.
ArgumentException The key specified is not recognized.
ArgumentException The value is not appropriate for the specified key.
OverflowException The value was expected to be a number but was too large or small for an Int32.
FormatException The value was expected to be numeric but was not a valid number