getLockTimeout Method (SQLServerDataSource)
Returns an int value that indicates the number of milliseconds that the database will wait before reporting a lock time out.
Syntax
public int getLockTimeout()
Return Value
An int value that contains the number of milliseconds that the database will wait.
Remarks
The lock time out is the number of milliseconds to wait before the database reports a lock time out. The default value of -1 means that it will wait indefinitely. If specified, this value will be the default for all statements on the connection.
Note
A value of 0 means no wait. If the lockTimeout property is not set, the getLockTimeout method returns the default value of -1.
See Also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro