共用方式為


SessionNeverTimesOut 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionNeverTimesOut As Boolean
    Get
    Set
'用途
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)

屬性值

型別: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.

範例

實作端點