ConnectionManager.LockTimeout 属性

定义

LockTimeout 是锁定超时(以秒为单位)。 默认 -1 无限期。 对于所有其他负数,将引发 InvalidPropertyValueException。 正 LockTimeout 将乘以 1000,然后用于“SET LOCK_TIMEOUT”设置。

public int LockTimeout { get; set; }
member this.LockTimeout : int with get, set
Public Property LockTimeout As Integer

属性值

适用于