Delen via


CompressionEndpointProtocolOption.IsEnabled Property

Gets or sets a value that indicates whether compression is set to ENABLED.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property IsEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As CompressionEndpointProtocolOption 
Dim value As Boolean 

value = instance.IsEnabled

instance.IsEnabled = value
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean 
function set IsEnabled (value : boolean)

Property Value

Type: System.Boolean
True if compression set to ENABLED, false if to DISABLED.

See Also

Reference

CompressionEndpointProtocolOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace