CompressionOption 属性
Gets or sets the compression option for the current backup session and is transient to the Backup Object Microsoft.SqlServer.Management.SmoExtended.Backup
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Property CompressionOption As BackupCompressionOptions
Get
Set
用法
Dim instance As Backup
Dim value As BackupCompressionOptions
value = instance.CompressionOption
instance.CompressionOption = value
public BackupCompressionOptions CompressionOption { get; set; }
public:
property BackupCompressionOptions CompressionOption {
BackupCompressionOptions get ();
void set (BackupCompressionOptions value);
}
member CompressionOption : BackupCompressionOptions with get, set
function get CompressionOption () : BackupCompressionOptions
function set CompressionOption (value : BackupCompressionOptions)
属性值
类型: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 |