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
BaseDatabase..::.NoWaitDbExclusiveLock Property
BaseDatabase Class See Also Send Feedback

If true, configure the database handle to obtain a write lock on the entire database. When the database is opened it immediately throws LockNotGrantedException if it cannot obtain the exclusive lock immediately. If False, configure the database handle to obtain a write lock on the entire database. When the database is opened, it blocks until it can obtain the exclusive lock. If null, do not configure the database handle to obtain a write lock on the entire database.

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

# Syntax

C#
    public Nullable<bool> NoWaitDbExclusiveLock { get; }

Visual Basic (Declaration)
    Public ReadOnly Property NoWaitDbExclusiveLock As Nullable(Of Boolean)

Visual C++
    public:
    property Nullable<bool> NoWaitDbExclusiveLock {
    	Nullable<bool> get ();
    }

# See Also

BaseDatabase Class
BerkeleyDB Namespace