ConnectionManager.LockTimeout 屬性
取得或設定鎖定目前交易時連接逾時所需的時間 (以秒為單位)。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Property LockTimeout As Integer
Get
Set
'用途
Dim instance As ConnectionManager
Dim value As Integer
value = instance.LockTimeout
instance.LockTimeout = value
public int LockTimeout { get; set; }
public:
property int LockTimeout {
int get ();
void set (int value);
}
member LockTimeout : int with get, set
function get LockTimeout () : int
function set LockTimeout (value : int)
屬性值
型別:Int32
Int32 值,指定鎖定目前交易時連接逾時所需的時間 (以秒為單位)。