DB2®ConnectionStringBuilder Methods

The methods of the DB2ConnectionStringBuilder class are listed here.

Public Methods

Method Description
public method Add (inherited from DbConnectionStringBuilder) Adds an entry with the specified key and value into the DbConnectionStringBuilder.
public method Clear Clears the contents of the DB2ConnectionStringBuilder instance.
public method ContainsKey Determines whether the DB2ConnectionStringBuilder contains the specified key.
public method Equals (inherited from Object) Determines whether two Object instances are equal.
public method EquivalentTo (inherited from DbConnectionStringBuilder) Compares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object.
public method 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.
public method GetType (inherited from Object) Gets the Type of the current instance.
public method Remove Removes the entry with the specified key from the DB2ConnectionStringBuilder.
public method ShouldSerialize Indicates whether the specified key exists in this DB2ConnectionStringBuilder instance.
public method ToString (inherited from DbConnectionStringBuilder) Returns the connection string associated with this DbConnectionStringBuilder.
public method TryGetValue Retrieves a value from the DB2ConnectionStringBuilder corresponding to the specified key.