Export (0) Print
Expand All

OleDbConnectionStringBuilder Members

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

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

  Name Description
Public method OleDbConnectionStringBuilder Overloaded. Initializes a new instance of the OleDbConnectionStringBuilder 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 DataSource Gets or sets the name of the data source to connect to.
Public property FileName Gets or sets the name of the Universal Data Link (UDL) file for connecting to the data source.
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 OleDbConnectionStringBuilder.
Public property OleDbServices Gets or sets the value to be passed for the OLE DB Services key within the connection string.
Public property PersistSecurityInfo Gets or sets a Boolean value that indicates whether security-sensitive information, such as the password, is returned as part of the connection if the connection is open or has ever been in an open state.
Public property Provider Gets or sets a string that contains the name of the data provider associated with the internal connection string.
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 OleDbConnectionStringBuilder instance.
Public method ContainsKey Overridden. Determines whether the OleDbConnectionStringBuilder 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 OleDbConnectionStringBuilder 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 the OleDbConnectionStringBuilder instance.
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