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

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.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