Description
This method will commit the actions performed within this McDBTransaction to the enclosing Level. If this McDBTransaction is not nested (i.e. is at Level 1), the results of the McDBTransaction are actually written to the relevant McDBDatabase(s). If this McDBTransaction is nested, the actions in the active Level are only committed to the enclosing Level, and the net actions are still tentative, pending a Commit of enclosing Level(s).
-
Return Type
-
None
-
Syntax
-
object.Commit
The Commit Method syntax has these parts: Remarks
BName: McDBTransaction.Commit()
Note than transacted actions taken on database objects do not fire events until they are committed via this method. McDBNode objects will receive a NodeLocked event when it is written in a transaction, although its NodeModified event will not fire until the McDBTransaction is committed.
Exceptions
|