Commits the changes made to the state of the database during the current save point and migrates them to the previous save point. If the outermost save point is committed then the changes made during that save point will be committed to the state of the database and the session will exit the transaction.
Namespace: Microsoft.Isam.Esent.Interop.Windows8
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetCommitTransaction2 ( _
sesid As JET_SESID, _
grbit As CommitTransactionGrbit, _
durableCommit As TimeSpan, _
<OutAttribute> ByRef commitId As JET_COMMIT_ID _
)
'Usage
Dim sesid As JET_SESID
Dim grbit As CommitTransactionGrbit
Dim durableCommit As TimeSpan
Dim commitId As JET_COMMIT_IDWindows8Api.JetCommitTransaction2(sesid, _
grbit, durableCommit, commitId)
public static void JetCommitTransaction2(
JET_SESID sesid,
CommitTransactionGrbit grbit,
TimeSpan durableCommit,
out JET_COMMIT_ID commitId
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to commit the transaction for.
-
grbit
Type: Microsoft.Isam.Esent.Interop.CommitTransactionGrbitCommit options.
-
durableCommit
Type: System.TimeSpanDuration to commit lazy transaction.
-
commitId
Type: Microsoft.Isam.Esent.Interop.Windows8.JET_COMMIT_IDCommit-id associated with this commit record.
See also
Reference
Microsoft.Isam.Esent.Interop.Windows8 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.
