Discard the cursor. If you do not close the cursor before closing the database handle or the transaction handle that owns this cursor, then, closing a database handle or a transaction handle closes these open cursors.
It is possible for the Close() method to throw a DeadlockException, signaling that any enclosing transaction should be aborted. If the application is already intending to abort the transaction, this error should be ignored, and the application should proceed.
After Close has been called, regardless of its result, the object may not be used again.
Assembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 126.96.36.199
public void Close()
|Visual Basic (Declaration)|
Public Sub Close
public: void Close()