Commit a transaction. This object should be in a transaction.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Sub Commit ( _
grbit As CommitTransactionGrbit, _
durableCommit As TimeSpan, _
<OutAttribute> ByRef commitId As JET_COMMIT_ID _
)
'Usage
Dim instance As Transaction
Dim grbit As CommitTransactionGrbit
Dim durableCommit As TimeSpan
Dim commitId As JET_COMMIT_ID
instance.Commit(grbit, durableCommit, _
commitId)
public void Commit(
CommitTransactionGrbit grbit,
TimeSpan durableCommit,
out JET_COMMIT_ID commitId
)
Parameters
-
grbit
Type: Microsoft.Isam.Esent.Interop.CommitTransactionGrbitJetCommitTransaction options.
-
durableCommit
Type: System.TimeSpanDuration for committing lazy transactions.
-
commitId
Type: Microsoft.Isam.Esent.Interop.Windows8.JET_COMMIT_IDCommit-id for this commit record.
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.
