<xml></xml>

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

Berkeley DB .NET API Documentation
LockingConfig..::.Conflicts Property
LockingConfig Class See Also

The locking conflicts matrix.

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

# Syntax

C#

    public byte[,] Conflicts { get; set; }

Visual Basic (Declaration)

    Public Property Conflicts As Byte(,)

Visual C++

    public:
    property array<unsigned char,2>^ Conflicts {
    	array<unsigned char,2>^ get ();
    	void set (array<unsigned char,2>^ value);
    }

# Remarks

If Conflicts is never set, a standard conflicts array is used; see Standard Lock Modes in the Programmer's Reference Guide for more information.

Conflicts parameter is an nmodes by nmodes array. A non-0 value for the array element indicates that requested_mode and held_mode conflict:

CopyC#

    conflicts[requested_mode][held_mode]

The not-granted mode must be represented by 0.

If the database environment already exists when Open(String, DatabaseEnvironmentConfig) is called, the value of Conflicts will be ignored.

# See Also

LockingConfig Class
BerkeleyDB Namespace