다음을 통해 공유


ConnectionTimeout 속성

Gets or sets the number of seconds before a connection times out.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
Public Property ConnectionTimeout As Integer
    Get
    Set
‘사용 방법
Dim instance As SqlOlapConnectionInfoBase
Dim value As Integer

value = instance.ConnectionTimeout

instance.ConnectionTimeout = value
public int ConnectionTimeout { get; set; }
public:
property int ConnectionTimeout {
    int get ();
    void set (int value);
}
member ConnectionTimeout : int with get, set
function get ConnectionTimeout () : int
function set ConnectionTimeout (value : int)

속성 값

유형: System. . :: . .Int32
A Int32 value that specifies the connection timeout period.