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

The locking conflicts matrix.

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