HttpProtocol.IsCompressionEnabled Property

Gets or sets the Boolean property that specifies whether HTTP compression is supported with the HTTP protocol.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property IsCompressionEnabled As Boolean
    Get
    Set
'Usage
Dim instance As HttpProtocol
Dim value As Boolean

value = instance.IsCompressionEnabled

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether HTTP compression is supported with the HTTP protocol.
If True, HTTP compression is supported.
If False (default), HTTP compression is not supported.