DatabaseRestorePlanner.RestoreToLastBackup Propiedad
Gets or sets a value indicating whether restore to last backup.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Property RestoreToLastBackup As Boolean
Get
Set
'Uso
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)
Valor de la propiedad
Tipo: System.Boolean
True if restore to last backup; otherwise, false.