The following methods and properties are available from the Connection object.
The Connection object has the eight methods shown in the following table. Seven of these methods are available to developers using the OLE DB Provider for ODBC with D3 ODBC.
Connection Methods | Available |
---|---|
BeginTrans | Yes |
Cancel | No |
Close | Yes |
CommitTrans | Yes |
Execute | Yes* |
Open | Yes |
OpenSchema | Yes** |
RollbackTrans | Yes |
*Available options – adCmdText, adCmdTable, adExecuteNoRecords
**Available options – adSchemaIndexes, adSchemaProviderTypes, adSchemaTables
The Connection object has the eleven properties shown in the following table. Eight of these properties are available to developers using the OLE DB Provider for ODBC with D3 ODBC.
Connection Properties | Available |
---|---|
Attributes | Yes |
CommandTimeout | No |
ConnectionString | Yes |
ConnectionTimeout | No |
CursorLocation | Yes* |
DefaultDatabase | No |
IsolationLevel | Yes** |
Mode | Yes |
Provider | Yes |
State | Yes |
Version | Yes |
*Available options – adUseServer, adUseClient
**Available options – adXactReadUncomitted, adXactReadCommitted, adXactRepeatableRead, adXactSerializable