DB2®ConnectionStringBuilder Methods
The methods of the DB2ConnectionStringBuilder class are listed here.
Public Methods
| Method | Description |
|---|---|
Add (inherited from DbConnectionStringBuilder) |
Adds an entry with the specified key and value into the DbConnectionStringBuilder. |
Clear |
Clears the contents of the DB2ConnectionStringBuilder instance. |
ContainsKey |
Determines whether the DB2ConnectionStringBuilder contains the specified key. |
Equals (inherited from Object) |
Determines whether two Object instances are equal. |
EquivalentTo (inherited from DbConnectionStringBuilder) |
Compares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
Remove |
Removes the entry with the specified key from the DB2ConnectionStringBuilder. |
ShouldSerialize |
Indicates whether the specified key exists in this DB2ConnectionStringBuilder instance. |
ToString (inherited from DbConnectionStringBuilder) |
Returns the connection string associated with this DbConnectionStringBuilder. |
TryGetValue |
Retrieves a value from the DB2ConnectionStringBuilder corresponding to the specified key. |