Export (0) Print
Expand All

OdbcConnectionStringBuilder Members

Provides a simple way to create and manage the contents of connection strings used by the OdbcConnection class.

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

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

  Name Description
Public property BrowsableConnectionString  Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.(Inherited from DbConnectionStringBuilder.)
Public property ConnectionString  Gets or sets the connection string associated with the DbConnectionStringBuilder.(Inherited from DbConnectionStringBuilder.)
Public property Count  Gets the current number of keys that are contained within the ConnectionString property.(Inherited from DbConnectionStringBuilder.)
Public property Driver Gets or sets the name of the ODBC driver associated with the connection.
Public property Dsn Gets or sets the name of the data source name (DSN) associated with the connection.
Public property IsFixedSize  Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.(Inherited from DbConnectionStringBuilder.)
Public property IsReadOnly  Gets a value that indicates whether the DbConnectionStringBuilder is read-only.(Inherited from DbConnectionStringBuilder.)
Public property Item Overridden. Gets or sets the value associated with the specified key. In C#, this property is the indexer.
Public property Keys Overridden. Gets an ICollection that contains the keys in the OdbcConnectionStringBuilder.
Public property Values  Gets an ICollection that contains the values in the DbConnectionStringBuilder.(Inherited from DbConnectionStringBuilder.)
Top

(see also Protected Methods )
  Name Description
Public method Add  Adds an entry with the specified key and value into the DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder.)
Public method Static AppendKeyValuePair  Overloaded. Provides an efficient and safe way to append a key and value to an existing StringBuilder object. (Inherited from DbConnectionStringBuilder.)
Public method Clear Overridden. Clears the contents of the OdbcConnectionStringBuilder instance.
Public method ContainsKey Overridden. Determines whether the OdbcConnectionStringBuilder 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. (Inherited from DbConnectionStringBuilder.)
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 Overridden. Removes the entry with the specified key from the OdbcConnectionStringBuilder instance.
Public method ShouldSerialize  Indicates whether the specified key exists in this DbConnectionStringBuilder instance. (Inherited from DbConnectionStringBuilder.)
Public method ToString  Returns the connection string associated with this DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder.)
Public method TryGetValue Overridden. Retrieves a value corresponding to the supplied key from this OdbcConnectionStringBuilder.
Top

  Name Description
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 MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft