DatabaseRestorePlanner.RestoreToLastBackup 属性
Gets or sets a value indicating whether restore to last backup.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Property RestoreToLastBackup As Boolean
Get
Set
用法
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)
属性值
类型:System.Boolean
True if restore to last backup; otherwise, false.