ITransactionLocal:ITransaction

ITransactionLocal is an optional interface on sessions. It is used to start, commit, and abort transactions on the session.

Method Description
GetOptionsObject Returns an object that can be used to specify configuration options for a subsequent call to StartTransaction.
StartTransaction Begins a new transaction.

 

ITransactionLocal::GetOptionsObject

Returns an object that can be used to specify configuration options for a subsequent call to StartTransaction. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

ITransactionLocal::StartTransaction

Begins a new transaction. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

Note   Jet supports seven levels of nesting in transactions. The only supported mode for transactions is Read Committed. Setting lesser levels of transactional separation implies Read Committed. Setting higher levels will cause StartTransaction to fail. For more detailed information, see the OLE DB Programmer’s Reference.