Paths of directories to be used as the location of the access method database files.

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

Syntax

C#
public List<string> DataDirs
Visual Basic (Declaration)
Public DataDirs As List(Of String)
Visual C++
public:
List<String^>^ DataDirs

Remarks

Paths specified to Open(String, DatabaseConfig) will be searched relative to this path. Paths set using this method are additive, and specifying more than one will result in each specified directory being searched for database files.

If no database directories are specified, database files must be named either by absolute paths or relative to the environment home directory. See Berkeley DB File Naming in the Programmer's Reference Guide for more information.

See Also