Aracılığıyla paylaş


BackupRestoreBase.Restart Property

Gets or sets a Boolean property value that determines whether the backup or restore operation will restart if it is interrupted.

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

Syntax

'Bildirim
Public Property Restart As Boolean
    Get
    Set
'Kullanım
Dim instance As BackupRestoreBase
Dim value As Boolean

value = instance.Restart

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the operation will restart after an interruption.
If True, SQL Server tries to continue processing on a partial backup or restore operation.
If False (default), SQL Server restarts an interrupted backup or restore operation at the beginning of the backup set.

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupRestoreBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

RESTORE (Transact-SQL)

BACKUP (Transact-SQL)