Free up all the per-process resources associated with the specified Transaction instance, neither committing nor aborting the transaction.Namespace: BerkeleyDB
Assembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 22.214.171.124
public void Discard()
|Visual Basic (Declaration)|
Public Sub Discard
public: void Discard()
If there are cursor handles open when this method is called, they are all closed inside this method. And if there are errors when closing the cursor handles, the first such error is returned. This call may be used only after calls to Recover(Int32, Boolean) when there are multiple global transaction managers recovering transactions in a single Berkeley DB environment. Any transactions returned by Recover(Int32, Boolean) that are not handled by the current global transaction manager should be discarded using Discard.