SoapPayload.SessionNeverTimesOut Property

Gets or sets the Boolean property that specifies whether the session never times out.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionNeverTimesOut As Boolean
    Get
    Set
'Usage
Dim instance As SoapPayload
Dim value As Boolean

value = instance.SessionNeverTimesOut

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the session never times out.
If True, the session never times out.
If False (default), the session times out after the specified period in the SessionTimeout property.