RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IBDatabase.TAutoStopAction Enumeration

TAutoStopAction indicates the action to take on automatically ended transactions.

Pascal
TAutoStopAction = (
  saNone,
  saRollback,
  saCommit,
  saRollbackRetaining,
  saCommitRetaining
);
C++
enum TAutoStopAction {
  saNone,
  saRollback,
  saCommit,
  saRollbackRetaining,
  saCommitRetaining
};

TAutoStopAction values are: 

Value Meaning  

saNone Transactions are not implicitly stopped. 

saRollback Transactions are rolled back and closed when stopped implicitly. 

saCommit Transactions are committed and closed when stopped implicitly. 

saRollbackRetaining Transactions are not stopped when the last dataset closes, but all updates, insertions, and deletions of data associated with the current transaction are backed out. This option is only supported in InterBase 6.0 and later. 

saCommitRetaining Transactions are not stopped when the last dataset closes, but all updates, insertions, and deletions of data associated with the current transaction are committed. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!