Aracılığıyla paylaş


DatabaseRestorePlanner.RestoreToLastBackup Property

Gets or sets a value indicating whether restore to last backup.

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

Syntax

'Bildirim
Public Property RestoreToLastBackup As Boolean
    Get
    Set
'Kullanım
Dim instance As DatabaseRestorePlanner
Dim value As Boolean

value = instance.RestoreToLastBackup

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

Property Value

Type: System.Boolean
True if restore to last backup; otherwise, false.

See Also

Reference

DatabaseRestorePlanner Class

Microsoft.SqlServer.Management.Smo Namespace