共用方式為


SoapPayload.IsSessionEnabled 屬性

Gets or sets the Boolean property that specifies whether the SOAP session is enabled.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsSessionEnabled As Boolean 
    Get 
    Set
'用途
Dim instance As SoapPayload 
Dim value As Boolean 

value = instance.IsSessionEnabled

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

屬性值

型別:System.Boolean
A Boolean value that specifies whether the SOAP session is enabled.If True, the session is enabled.If False (default), the session is disabled.

範例

實作端點

請參閱

參考

SoapPayload 類別

Microsoft.SqlServer.Management.Smo 命名空間