Share via


Api.JetRollback 方法

復原對資料庫狀態所做的變更,並返回最後一個儲存點。 JetRollback 也會關閉儲存點期間開啟的任何資料指標。 如果復原最外層的儲存點,會話將會結束交易。

Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'Declaration
Public Shared Sub JetRollback ( _
    sesid As JET_SESID, _
    grbit As RollbackTransactionGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim grbit As RollbackTransactionGrbitApi.JetRollback(sesid, grbit)
public static void JetRollback(
    JET_SESID sesid,
    RollbackTransactionGrbit grbit
)

參數

另請參閱

參考

Api 類別

Api 成員

Microsoft.Isam.Esent.Interop 命名空間