Assembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 126.96.36.199
public void SetLockTimeout( uint timeout )
|Visual Basic (Declaration)|
Public Sub SetLockTimeout ( _ timeout As UInteger _ )
public: void SetLockTimeout( unsigned int timeout )
- Type: System..::.UInt32
An unsigned 32-bit number of microseconds, limiting the maximum timeout to roughly 71 minutes. A value of 0 disables timeouts for the transaction.
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.