The methods of the ADOConnection class are listed below. For a complete list of ADOConnection class members, see the ADOConnection Members topic.
BeginTransaction | Begins a database transaction with the current IsolationLevel value. |
Clone | Creates a clone of this insatce of ADOConnection. |
Close | Overloaded. Closes the connection to the data source. |
CommitTransaction | Commits the database transaction. |
Dispose | Disposes of this ADOConnection object. |
Equals (inherited from Object) | Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetContainer (inherited from Component) | Returns the IContainer that contains the Component. |
GetDesignMode (inherited from Component) | Gets a value indicating whether the Component is currently in design mode. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetServiceObject (inherited from Component) | Returns an object representing a service provided by the Component. |
GetType (inherited from Object) | Gets the Type of the Object. |
Open | Opens a database connection with the current property settings. |
ResetConnectionTimeout | Resets the ConnectionTimeout property to its default. |
ResetDatabase | Resets the Database property to its default. |
ResetDataSource | Resets the DataSource property to its default. |
ResetIsolationLevel | Resets the IsolationLevel property to its default. |
ResetPassword | Resets the Password property to its default. |
ResetProperties | Resets the connection properties collection from the provider. |
ResetUserID | Resets the UserID property to its default. |
RollbackTransaction | Rolls back a transaction from being applied to the database. |
ShouldPersistConnectionTimeout | Determines whether the ConnectionTimeout should be persisted. |
ShouldPersistDatabase | Determines whether the Database should be persisted. |
ShouldPersistDataSource | Determines whether the DataSource should be persisted. |
ShouldPersistIsolationLevel | Determines whether the IsolationLevel should be persisted. |
ShouldPersistPassword | Determines whether the Password should be persisted. |
ShouldPersistUserID | Determines whether the UserID should be persisted. |
ToString (inherited from Component) | Returns a String containing the name of the Component, if any. This method should not be overridden. For internal use only. |
Close | Overloaded. Closes the connection to the data source. |
CreateNewProperties | [To be supplied.] |
CreateNewStateChangeEvent (inherited from DBConnection) | [To be supplied.] |
Finalize | [To be supplied.] |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
OnInfoMessage | Raises the ADOInfoMessageEventArgs event. |
OnStateChange (inherited from DBConnection) | Raises the StateChangeEventArgs event. |
OpenDesignMode | [To be supplied.] |
SetObjectState (inherited from DBConnection) | Sets the State to one of the DBObjectState values. |
AddOnInfoMessage | Use to add an information message event handler. |
AddOnStateChange (inherited from DBConnection) | Use to add a connection state change event handler. |
RemoveOnStateChange (inherited from DBConnection) | Use to remove a connection state change event handler. |