Partager via


Propriété SessionNeverTimesOut

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionNeverTimesOut As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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.