Поделиться через


Свойство HttpProtocol.IsCompressionEnabled

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsCompressionEnabled As Boolean 
    Get 
    Set
'Применение
Dim instance As HttpProtocol 
Dim value As Boolean 

value = instance.IsCompressionEnabled

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

Значение свойства

Тип: 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.

Примеры

Реализация конечных точек

См. также

Справочник

HttpProtocol Класс

Пространство имен Microsoft.SqlServer.Management.Smo