Windows8Api.JetCommitTransaction2 method
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for