다음을 통해 공유


ConnectionManager.LockTimeout 속성

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

네임스페이스:  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)

속성 값

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

참고 항목

참조

ConnectionManager 클래스

Microsoft.SqlServer.Management.Common 네임스페이스