Share via


Restart 屬性

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

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

語法

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

屬性值

型別: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.