ConnectionManager.LockTimeout 屬性

定義

LockTimeout 是指幾秒鐘內的鎖定超時。 預設 -1 是無限期的。 對於所有其他負數都會拋出 InvalidPropertyValueException。 正鎖定超時會乘以 1000,然後用於「設定LOCK_TIMEOUT」設定。

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

屬性值

適用於