Click or drag to resize

DataAccessAdapterCoreRollback Method

Overload List
  NameDescription
Public methodRollback
Rolls back the transaction in action. It will end all database activity, since commiting a transaction is finalizing it. After calling Commit or Rollback, the ITransaction implementing class will reset itself. If in a COM+ transaction: it will flag the context to abort. It will NOT set the done bit.
Public methodRollback(String)
Rolls back the transaction in action to the savepoint with the name savepointName. No internal objects are being reset when this method is called, so call this Rollback overload only to roll back to a savepoint. To roll back a complete transaction, call Rollback() without specifying a savepoint name. Create a savepoint by calling SaveTransaction(savePointName)
Top
See Also