DatabaseRestorePlanner Class
SQL Server 2012
Represents the Database Restore Planner.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
The DatabaseRestorePlanner type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | CreateRestorePlan() | Creates the restore plan. |
![]() | CreateRestorePlan(RestoreOptions) | Creates the restore plan with restore options. |
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |

