SqlCeConnectionStringBuilder.DefaultLockTimeout 屬性
取得或設定交易等候鎖定的預設毫秒數。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Property DefaultLockTimeout As Integer
Get
Set
'用途
Dim instance As SqlCeConnectionStringBuilder
Dim value As Integer
value = instance.DefaultLockTimeout
instance.DefaultLockTimeout = value
public int DefaultLockTimeout { get; set; }
public:
property int DefaultLockTimeout {
int get ();
void set (int value);
}
member DefaultLockTimeout : int with get, set
function get DefaultLockTimeout () : int
function set DefaultLockTimeout (value : int)
屬性值
型別:System.Int32
交易等候鎖定的毫秒數。如果未指定,則預設值為 2000。