The EndTransaction method ends a transaction and saves all buffered changes to a schedule.
Schedule object
objSchedule.EndTransaction
None
The EndTransaction method saves all buffered changes to a Schedule object that have occurred since the last call to the BeginTransaction method. If the call to this method fails, you do not have to call the RollbackTransaction method. However, your changes may not be saved.
Note Every call to BeginTransaction must have a matching call to EndTransaction or RollbackTransaction.
BeginTransaction
RollbackTransaction