Function CSPODBCRecordset::AutoCommit()
Description:
Sets the auto-commit option on or off.
 |
Prototype:
bool AutoCommit(bool bAuto = true);
Arguments:
- bool bAuto = true [IN]
Sets auto-commit on (true) or (false)
Return value:
If successful, it returns true. Otherwise, it returns false.
Remarks:
This works only if this object is not bound to an external connection object. If this object is bound to an external connection use the member function CSPODBCConnection::AutoCommit() By default, when a recordset object is created the auto-commit option is on.
See also:
member functions Commit(), Rollback() class CSPODBCConnection
|
|