This documentation is archived and is not being maintained.

DbConnectionStringBuilder Members

Provides a base class for strongly typed connection string builders.

The following tables list the members exposed by the DbConnectionStringBuilder type.

  Name Description
Public method DbConnectionStringBuilder Overloaded. Initializes a new instance of the DbConnectionStringBuilder class.
Top

  Name Description
Public property BrowsableConnectionString Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
Public property ConnectionString Gets or sets the connection string associated with the DbConnectionStringBuilder.
Public property Count Gets the current number of keys that are contained within the ConnectionString property.
Public property IsFixedSize Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
Public property IsReadOnly Gets a value that indicates whether the DbConnectionStringBuilder is read-only.
Public property Item Gets or sets the value associated with the specified key.
Public property Keys Gets an ICollection that contains the keys in the DbConnectionStringBuilder.
Public property Values Gets an ICollection that contains the values in the DbConnectionStringBuilder.
Top

(see also Protected Methods )
  Name Description
Public method Add Adds an entry with the specified key and value into the DbConnectionStringBuilder.
Public method Static AppendKeyValuePair Overloaded. Provides an efficient and safe way to append a key and value to an existing StringBuilder object.
Public method Clear Clears the contents of the DbConnectionStringBuilder instance.
Public method ContainsKey Determines whether the DbConnectionStringBuilder contains a specific key.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method EquivalentTo Compares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Removes the entry with the specified key from the DbConnectionStringBuilder instance.
Public method ShouldSerialize Indicates whether the specified key exists in this DbConnectionStringBuilder instance.
Public method ToString Overridden. Returns the connection string associated with this DbConnectionStringBuilder.
Public method TryGetValue Retrieves a value corresponding to the supplied key from this DbConnectionStringBuilder.
Top

  Name Description
Protected method ClearPropertyDescriptors Clears the collection of PropertyDescriptor objects on the associated DbConnectionStringBuilder.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetProperties Fills a supplied Hashtable with information about all the properties of this DbConnectionStringBuilder.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Show: