Partilhar via


Propriedade do RDL LockTimeout

Gets or sets the time in seconds required for the connection to time out when the current transaction is locked.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Property LockTimeout As Integer
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .Int32
A Int32 value that specifies the time in seconds for the connection to time out when the current transaction is locked.