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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。