Undoes the changes made to the state of the database and returns to the last save point. JetRollback will also close any cursors opened during the save point. If the outermost save point is undone, the session will exit the transaction.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetRollback ( _
sesid As JET_SESID, _
grbit As RollbackTransactionGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim grbit As RollbackTransactionGrbitApi.JetRollback(sesid, grbit)
public static void JetRollback(
JET_SESID sesid,
RollbackTransactionGrbit grbit
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to rollback the transaction for.
-
grbit
Type: Microsoft.Isam.Esent.Interop.RollbackTransactionGrbitRollback options.
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
