Partager via


Propriété Checksum

Gets or sets a Boolean property value that determines whether a checksum value is calculated during backup or restore operations.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property Checksum As Boolean
    Get
    Set
'Utilisation
Dim instance As BackupRestoreBase
Dim value As Boolean

value = instance.Checksum

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

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value that specifies whether the checksum value is calculated.
If True, the checksum value is calculated. Otherwise, False (default).

Notes

You can use the Checksum property to compute the checksum value during backup and restore operations. This helps to increase the reliability of backup media.

If the Checksum property is set to False, the ContinueAfterError property will be ignored.