Method RollbackTransaction
RollbackTransaction()
Rollback the edits in the transaction from the geodatabase.
Declaration
public void RollbackTransaction()
Remarks
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 must be started and stopped on a single thread of execution.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.2 |
.NET 6.0 | 100.13 - 200.2 |
.NET 6.0 Windows | 100.13 - 200.2 |
.NET 6.0 Android | 200.0 - 200.2 |
.NET 6.0 iOS | 200.0 - 200.2 |
.NET Framework | 100.2.1 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.2.1 - 100.15 |
iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.2 |
Relevant samples
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.