Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironmentConfig..::.UseEnvironmentVars Field
DatabaseEnvironmentConfig Class See Also

If true, the Berkeley DB process' environment may be permitted to specify information to be used when naming files.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#
    public bool UseEnvironmentVars

Visual Basic (Declaration)
    Public UseEnvironmentVars As Boolean

Visual C++
    public:
    bool UseEnvironmentVars

# Remarks

See Berkeley DB File Naming in the Programmer's Reference Guide for more information.

Because permitting users to specify which files are used can create security problems, environment information will be used in file naming for all users only if UseEnvironmentVars is true.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace