DatabaseRestorePlanner 类
Represents the Database Restore Planner.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Smo.DatabaseRestorePlanner
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public NotInheritable Class DatabaseRestorePlanner
用法
Dim instance As DatabaseRestorePlanner
public sealed class DatabaseRestorePlanner
public ref class DatabaseRestorePlanner sealed
[<SealedAttribute>]
type DatabaseRestorePlanner = class end
public final class DatabaseRestorePlanner
DatabaseRestorePlanner 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DatabaseRestorePlanner(Server) | Initializes a new instance of the DatabaseRestorePlanner class with specified server. | |
DatabaseRestorePlanner(Server, String) | Initializes a new instance of the DatabaseRestorePlanner class with specified server and database name. | |
DatabaseRestorePlanner(Server, String, DateTime, String) | Initializes a new instance of the DatabaseRestorePlanner class with specified server, database name, point in time and recovery file. |
页首
属性
名称 | 说明 | |
---|---|---|
BackupMediaList | Gets the backup device item list. | |
BackupTailLog | Gets or sets a value indicating whether to backup tail log. | |
DatabaseName | Gets or sets the database name. | |
ReadHeaderFromMedia | Gets or sets a value indicating whether read header from devices. | |
RestoreToLastBackup | Gets or sets a value indicating whether restore to last backup. | |
RestoreToPointInTime | Gets or sets the restore to point in time. | |
Server | Gets or sets the server. | |
TailLogBackupFile | Gets or sets the tail log backup file. | |
TailLogWithNoRecovery | Gets or sets whether the database restore planner tails log without using recovery. |
页首
方法
名称 | 说明 | |
---|---|---|
CreateRestorePlan() | Creates the restore plan. | |
CreateRestorePlan(RestoreOptions) | Creates the restore plan with restore options. | |
Equals | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。