Instantiate a new DatabaseEnvironment object and open the Berkeley DB environment represented by home.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0

Syntax

C#
public static DatabaseEnvironment Open(
	string home,
	DatabaseEnvironmentConfig cfg
)
Visual Basic (Declaration)
Public Shared Function Open ( _
	home As String, _
	cfg As DatabaseEnvironmentConfig _
) As DatabaseEnvironment
Visual C++
public:
static DatabaseEnvironment^ Open(
	String^ home, 
	DatabaseEnvironmentConfig^ cfg
)

Parameters

home
Type: System..::.String
The database environment's home directory. For more information on home, and filename resolution in general, see Berkeley DB File Naming in the Programmer's Reference Guide.
cfg
Type: BerkeleyDB..::.DatabaseEnvironmentConfig
The environment's configuration

Return Value

A new, open DatabaseEnvironment object

See Also