Called when a target location is opened during a backup. This method should do whatever is necessary to prepare the backup destination for writing the data.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

Syntax

C#
int Open(
	string dbname,
	string target
)
Visual Basic (Declaration)
Function Open ( _
	dbname As String, _
	target As String _
) As Integer
Visual C++
int Open(
	String^ dbname, 
	String^ target
)

Parameters

dbname
Type: System..::.String
The backup's directory destination.
target
Type: System..::.String
The name of the database being backed up.

Return Value

0 on success, non-zero on error.

See Also