SqlCeConnectionStringBuilder.DefaultLockTimeout Property
Gets or sets the default number of milliseconds that a transaction will wait for a lock.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property DefaultLockTimeout As Integer
Get
Set
'Usage
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)
Property Value
Type: System.Int32
The number of milliseconds that a transaction will wait for a lock. The default value is 2000 if not specified.