認可在目前儲存點期間對資料庫狀態所做的變更,並將其移轉至先前的儲存點。 如果認可最外層的儲存點,則在該儲存點期間所做的變更將會認可至資料庫的狀態,而會話將會結束交易。
Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'Declaration
Public Shared Sub JetCommitTransaction ( _
sesid As JET_SESID, _
grbit As CommitTransactionGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim grbit As CommitTransactionGrbitApi.JetCommitTransaction(sesid, _
grbit)
public static void JetCommitTransaction(
JET_SESID sesid,
CommitTransactionGrbit grbit
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要認可交易的會話。
grbit
類型: Microsoft.Isam.Esent.Interop.CommitTransactionGrbit認可選項。