Rename the underlying file represented by file
using the value supplied to newname, incidentally
renaming all of the databases it contained.
Namespace:
BerkeleyDB
Assembly:
libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0
Syntax
Visual Basic (Declaration) |
---|
Public Sub RenameDB ( _
file As String, _
newname As String, _
autoCommit As Boolean _
) |
Visual C++ |
---|
public:
void RenameDB(
String^ file,
String^ newname,
bool autoCommit
) |
Parameters
- file
- Type: System..::.String
The physical file to be renamed.
- newname
- Type: System..::.String
The new name of the database or file.
- autoCommit
- Type: System..::.Boolean
If true, enclose RenameDB within a transaction. If the call
succeeds, changes made by the operation are recoverable. If the
call fails, the operation has made no changes.
See Also