/// <summary>
 /// Causes a session to enter a transaction or create a new save point in an existing
 /// transaction.
 /// </summary>
 /// <param name="sesid">The session to begin the transaction for.</param>
 /// <param name="userTransactionId">An optional identifier supplied by the user for identifying the transaction.</param>
 /// <param name="grbit">Transaction options.</param>
 /// <returns>An error if the call fails.</returns>
 public int JetBeginTransaction3(JET_SESID sesid, long userTransactionId, BeginTransactionGrbit grbit)
 {
     TraceFunctionCall();
     return(Err(NativeMethods.JetBeginTransaction3(sesid.Value, userTransactionId, unchecked ((uint)grbit))));
 }
 /// <summary>
 /// Causes a session to enter a transaction or create a new save point in an existing
 /// transaction.
 /// </summary>
 /// <param name="sesid">The session to begin the transaction for.</param>
 /// <param name="userTransactionId">An optional identifier supplied by the user for identifying the transaction.</param>
 /// <param name="grbit">Transaction options.</param>
 /// <returns>An error if the call fails.</returns>
 public int JetBeginTransaction3(JET_SESID sesid, long userTransactionId, BeginTransactionGrbit grbit)
 {
     TraceFunctionCall("JetBeginTransaction3");
     return Err(NativeMethods.JetBeginTransaction3(sesid.Value, userTransactionId, unchecked((uint)grbit)));
 }
Exemple #3
0
 /// <summary>
 /// Causes a session to enter a transaction or create a new save point in an existing
 /// transaction.
 /// </summary>
 /// <param name="sesid">The session to begin the transaction for.</param>
 /// <param name="userTransactionId">An optional identifier supplied by the user for identifying the transaction.</param>
 /// <param name="grbit">Transaction options.</param>
 /// <remarks>Introduced in Windows 8.</remarks>
 public static void JetBeginTransaction3(JET_SESID sesid, long userTransactionId, BeginTransactionGrbit grbit)
 {
     Api.Check(Api.Impl.JetBeginTransaction3(sesid, userTransactionId, grbit));
 }
Exemple #4
0
 /// <summary>
 /// Causes a session to enter a transaction or create a new save point in an existing
 /// transaction.
 /// </summary>
 /// <param name="sesid">The session to begin the transaction for.</param>
 /// <param name="grbit">Transaction options.</param>
 public static void JetBeginTransaction2(JET_SESID sesid, BeginTransactionGrbit grbit)
 {
     Api.Check(Impl.JetBeginTransaction2(sesid, grbit));
 }
Exemple #5
0
 /// <summary>
 /// Causes a session to enter a transaction or create a new save point in an existing
 /// transaction.
 /// </summary>
 /// <param name="sesid">The session to begin the transaction for.</param>
 /// <param name="userTransactionId">An optional identifier supplied by the user for identifying the transaction.</param>
 /// <param name="grbit">Transaction options.</param>
 /// <remarks>Introduced in Windows 8.</remarks>
 public static void JetBeginTransaction3(JET_SESID sesid, long userTransactionId, BeginTransactionGrbit grbit)
 {
     Api.Check(Api.Impl.JetBeginTransaction3(sesid, userTransactionId, grbit));
 }