Api.JetBeginTransaction2 method
Causes a session to enter a transaction or create a new save point in an existing transaction.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetBeginTransaction2 ( _
sesid As JET_SESID, _
grbit As BeginTransactionGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim grbit As BeginTransactionGrbitApi.JetBeginTransaction2(sesid, _
grbit)
public static void JetBeginTransaction2(
JET_SESID sesid,
BeginTransactionGrbit grbit
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to begin the transaction for.
grbit
Type: Microsoft.Isam.Esent.Interop.BeginTransactionGrbitTransaction options.