Partager via


Propriété Restart

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

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

Syntaxe

'Déclaration
Public Property Restart As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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.