The timeout value for locks for the transaction.
Namespace:
BerkeleyDBAssembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0
Syntax
C# |
---|
public uint LockTimeout { get; set; } |
Visual Basic (Declaration) |
---|
Public Property LockTimeout As UInteger |
Visual C++ |
---|
public: property unsigned int LockTimeout { unsigned int get (); void set (unsigned int value); } |
Remarks
Timeouts are checked whenever a thread of control blocks on a lock or when deadlock detection is performed. This timeout is for any single lock request. As timeouts are only checked when the lock request first blocks or when deadlock detection is performed, the accuracy of the timeout depends on how often deadlock detection is performed.
Timeout values may be specified for the database environment as a whole. See LockTimeout for more information.