Backup.CompressionOption Propiedad
Gets or sets the backup compression option.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Property CompressionOption As BackupCompressionOptions
Get
Set
'Uso
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)
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.BackupCompressionOptions
The backup compression option.
Comentarios
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 |
Ejemplos
Realizar de copias de seguridad y restaurar bases de datos y registros de transacciones
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo