Backup.CompressionOption Property

Gets or sets the compression option for the current backup session and is transient to the Backup Object Microsoft.SqlServer.Management.SmoExtended.Backup

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

public BackupCompressionOptions CompressionOption { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.BackupCompressionOptions
The current value of the property.

Member Name

Value

Description

Default

0

Use the default backup compression server configuration

On

1

Enable the backup compression

Off

2

Disable the backup compression

Community Additions

ADD
Show: