Compartir a través de


SessionTimeout Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionTimeout As Integer
    Get
    Set
'Uso
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)

Valor de la propiedad

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

Comentarios

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