rollback Transaction
Rollback the edits in the transaction from the geodatabase. Discards the edits in the current transaction from the geodatabase. This will also end the transaction. An error will be thrown if a transaction has not been started on the geodatabase.
Transactions can be started and stopped on any thread. Any edits that take place after a call to Geodatabase.beginTransaction() but before a call to either Geodatabase.commitTransaction() or Geodatabase.rollbackTransaction() will be considered part of that transaction, no matter what thread made the edit.
Since
200.1.0