Add(string, Object) Method

Syntax:

public void Add(string keyword, Object value)

Description:

Adds an entry with the specified key and value into the RdmConnectionStringBuilder.

Parameters:

keyword

Type: System.String

The key to add to the RdmConnectionStringBuilder.

value

Type: System.Object

The value for the specified key

Return Value:

None

Exceptions:

Exception Condition
ArgumentNullException The key specified is null.
ArgumentException The key specified is not a valid key.
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

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbConnectionStringBuilder.Add