DatabaseRestorePlanner Class
Represents the Database Restore Planner.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.DatabaseRestorePlanner
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public NotInheritable Class DatabaseRestorePlanner
'Usage
Dim instance As DatabaseRestorePlanner
public sealed class DatabaseRestorePlanner
public ref class DatabaseRestorePlanner sealed
[<SealedAttribute>]
type DatabaseRestorePlanner = class end
public final class DatabaseRestorePlanner
The DatabaseRestorePlanner type exposes the following members.
Constructors
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. |
Top
Properties
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. |
Top
Methods
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.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.