Share via


Checksum 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Property Checksum As Boolean
    Get
    Set
'用途
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)

屬性值

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

備註

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.