Rename the database specified by Filename and DatabaseName.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

C#
public static void Rename(
	string Filename,
	string DatabaseName,
	string NewName
)
Visual Basic (Declaration)
Public Shared Sub Rename ( _
	Filename As String, _
	DatabaseName As String, _
	NewName As String _
)
Visual C++
public:
static void Rename(
	String^ Filename, 
	String^ DatabaseName, 
	String^ NewName
)

Parameters

Filename
Type: System..::.String
The file to rename
DatabaseName
Type: System..::.String
The database to rename
NewName
Type: System..::.String
The new database name

See Also