Condividi tramite


Proprietà SessionNeverTimesOut

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionNeverTimesOut As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: 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.