Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo For a description of this member, see ICollection.CopyTo.
Explicit interface implementation Method System.Collections.IDictionary.Add For a description of this member, see IDictionary.Add.
Explicit interface implementation Method System.Collections.IDictionary.Contains For a description of this member, see IDictionary.Contains.
Explicit interface implementation Method System.Collections.IDictionary.GetEnumerator For a description of this member, see IDictionary.GetEnumerator.
Explicit interface implementation Method System.Collections.IDictionary.Remove For a description of this member, see IDictionary.Remove.
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator For a description of this member, see IEnumerable.GetEnumerator.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetAttributes For a description of this member, see ICustomTypeDescriptor.GetAttributes.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetClassName For a description of this member, see ICustomTypeDescriptor.GetClassName.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetComponentName For a description of this member, see ICustomTypeDescriptor.GetComponentName.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetConverter For a description of this member, see ICustomTypeDescriptor.GetConverter.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent For a description of this member, see ICustomTypeDescriptor.GetDefaultEvent.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty For a description of this member, see ICustomTypeDescriptor.GetDefaultProperty.
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetEditor For a description of this member, see ICustomTypeDescriptor.GetEditor.
Explicit interface implementation System.ComponentModel.ICustomTypeDescriptor.GetEvents Overloaded.  
Explicit interface implementation System.ComponentModel.ICustomTypeDescriptor.GetProperties Overloaded.  
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner For a description of this member, see ICustomTypeDescriptor.GetPropertyOwner.
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized For a description of this member, see System.Collections.ICollection.IsSynchronized.
Explicit interface implementation Property System.Collections.ICollection.SyncRoot For a description of this member, see System.Collections.ICollection.SyncRoot.
Explicit interface implementation Property System.Collections.IDictionary.Item For a description of this member, see System.Collections.IDictionary.Item(System.Object).
Top

Community Additions

ADD
Show:
© 2015 Microsoft