Restore transactions that were prepared, but not yet resolved at the
time of the system shut down or crash, to their state prior to the
shut down or crash, including any locks previously held.
Namespace:
BerkeleyDBAssembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0
Syntax
C# |
---|
public PreparedTransaction[] Recover( int count, bool resume ) |
Visual Basic (Declaration) |
---|
Public Function Recover ( _ count As Integer, _ resume As Boolean _ ) As PreparedTransaction() |
Visual C++ |
---|
public: array<PreparedTransaction^>^ Recover( int count, bool resume ) |
Parameters
- count
- Type: System..::.Int32
The maximum number of PreparedTransaction objects to return.
- resume
- Type: System..::.Boolean
If true, continue returning a list of prepared, but not yet resolved transactions, starting where the last call to Recover left off. If false, begins a new pass over all prepared, but not yet completed transactions, regardless of whether they have already been returned in previous calls to Recover.
Return Value
A list of the prepared transactionsRemarks
Calls to Recover from different threads of control should not be
intermixed in the same environment.