SessionTimeout プロパティ

非アクティブな状態が何秒間続いたら、そのセッションを停止するかを示す秒数を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionTimeout As Integer
    Get
    Set
'使用
Dim instance As SoapPayload
Dim value As Integer

value = instance.SessionTimeout

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

プロパティ値

型: System. . :: . .Int32
非アクティブなセッションのタイムアウト時間を秒単位で示す Int32 値です。

説明

SessionNeverTimesOut プロパティが True に設定されている場合は、このプロパティは適用されません。