BackupRestoreBase.ContinueAfterError Property

Gets or sets a Boolean property value that determines whether the backup or restore continues after a checksum error occurs.

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

Syntax

'Declaration
Public Property ContinueAfterError As Boolean 
    Get 
    Set
'Usage
Dim instance As BackupRestoreBase 
Dim value As Boolean 

value = instance.ContinueAfterError

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the operation will continue after a checksum error.If True, the operation will continue when a checksum error occurs. Otherwise, False (default).

Remarks

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

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupRestoreBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CHECKSUM (Transact-SQL)

RESTORE (Transact-SQL)

BACKUP (Transact-SQL)