다음을 통해 공유


SessionTimeout 속성

Gets or sets the number of seconds a session must be inactive before it is stopped.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public Property SessionTimeout As Integer
    Get
    Set
‘사용 방법
Dim instance As SoapPayload
Dim value As Integer

value = instance.SessionTimeout

instance.SessionTimeout = value
[SfcPropertyAttribute]
public int SessionTimeout { get; set; }
[SfcPropertyAttribute]
public:
property int SessionTimeout {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member SessionTimeout : int with get, set
function get SessionTimeout () : int
function set SessionTimeout (value : int)

속성 값

형식: System. . :: . .Int32
An Int32 value that specifies the inactive session time-out period in seconds.

주의

This property is not applicable when the SessionNeverTimesOut property has been set to True.

예제

끝점 구현