Partilhar via


Propriedade Restart

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 (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Property Restart As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: 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.