ChangeIsolation method |
Applies to
TIB_Transaction
Declaration
Procedure ChangeIsolation(NewIsolation: TIB_Isolation; CommitChanges: boolean );
Description
This method permits the transaction Isolation property to be changed even
while the transaction is active. It operates essentially the same as the
Refresh() method but changes the Isolation level before refreshing the datasets.
The transaction does have to be closed in order for this to take place so if
there are changes pending they will either need to be committed or rolled back.
CommitChanges parameter tells whether to Commit changes (or Rollback if false).