RdmConnection(string) Constructor
Syntax:
public RdmConnection(string connectionString)
Description:
A constructor for the RdmConnection class. Specifying a new RdmConnection object with this constructor generates a new connection object with the specified string. 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 |