Sets or returns a long value defining the characteristics of a Connection object.
| |
---|---|
Sets the number of seconds to wait while attempting an Execute method call before terminating the attempt and generating an error message.
| |
Sets or returns a string value that contains the details used to create a connection to a data source.
| |
Sets the number of seconds to wait while attempting to create a connection before terminating the attempt and generating an error message.
| |
Sets or returns a long value used to select between various cursor libraries accessible through the provider.
| |
Sets or returns a string value that is the default name of the database available from the provider for a Connection object.
| |
Sets or returns the transaction isolation level (the IsolationLevelEnum value) of a Connection object.
| |
Sets or returns the provider access permission (the ConnectModeEnum value) for a Connection object.
| |
Sets or returns the string value that is the provider name.
| |
Returns a long value (the ObjectStateEnum value) describing if the connection is open or closed.
| |
Returns a string value that is the ADO version number.
|
Begins a new transaction and returns a long value indicating the number of nested transactions.
| |
---|---|
Cancels the execution of a pending Execute or Open call.
| |
Closes a connection.
| |
Saves any changes and ends the current transaction. It can also be set to automatically start a new transaction.
| |
Executes the query, SQL statement, stored procedure, or provider-specific text.
| |
Opens a physical connection to a data source.
| |
Returns descriptive schema information from the provider about the data source.
| |
Cancels any changes that have occurred during the current transaction and then ends the transaction. It can also be set to automatically start a new transaction.
|
The Errors Collection contains all of the Error objects that were created as the result of a single failure involving the provider. Each time a failure occurs involving the provider, the Errors Collection is cleared and the new Error objects that have been created are inserted into the collection.
| |
The Properties Collection is a collection of Property objects. Each Property object contains a single piece of information, called a dynamic property, about the database provider. By referring to the Properties Collection, each connection to a provider can be tailored specifically by ADO to suit the exact needs of that provider.
|
After a BeginTrans operation has finished executing,you can call this event to trigger other operations.
| |
---|---|
After a CommitTrans operation has finished executing,you can call this event to trigger other operations.
| |
After a connection has started, you can call this event to provide information on the success of the connection.
| |
After a disconnection, you can call this event to provide information on the success of the disconnection.
| |
After a command has finished executing, you can call this event to provide information on the successof the command and the number of records affected.
| |
This event is called if a warning occurs during a ConnectionEvent operation.
| |
After a RollbackTrans operation has finished executing,you can call this event to trigger other operations.
| |
This event can be called before the connection starts.You can change any of the parameters and even cancel the connection.
| |
This event is called before a pending command is executed.It allows you to change the execution parameters.
|