DatabaseRestorePlanner DatabaseRestorePlanner DatabaseRestorePlanner Class

Definition

Represents the Database Restore Planner.

public ref class DatabaseRestorePlanner sealed
public sealed class DatabaseRestorePlanner
Public NotInheritable Class DatabaseRestorePlanner
Inheritance
DatabaseRestorePlannerDatabaseRestorePlannerDatabaseRestorePlanner

Constructors

DatabaseRestorePlanner(Server) DatabaseRestorePlanner(Server) DatabaseRestorePlanner(Server)

Initializes a new instance of the DatabaseRestorePlanner class with specified server.

DatabaseRestorePlanner(Server, String) DatabaseRestorePlanner(Server, String) DatabaseRestorePlanner(Server, String)

Initializes a new instance of the DatabaseRestorePlanner class with specified server and database name.

DatabaseRestorePlanner(Server, String, DateTime, String) DatabaseRestorePlanner(Server, String, DateTime, String) DatabaseRestorePlanner(Server, String, DateTime, String)

Initializes a new instance of the DatabaseRestorePlanner class with specified server, database name, point in time and recovery file.

Properties

BackupMediaList BackupMediaList BackupMediaList

Gets the backup device item list.

BackupTailLog BackupTailLog BackupTailLog

Gets or sets a value indicating whether to backup tail log.

DatabaseName DatabaseName DatabaseName

Gets or sets the database name.

ReadHeaderFromMedia ReadHeaderFromMedia ReadHeaderFromMedia

Gets or sets a value indicating whether read header from devices.

RestoreToLastBackup RestoreToLastBackup RestoreToLastBackup

Gets or sets a value indicating whether restore to last backup.

RestoreToPointInTime RestoreToPointInTime RestoreToPointInTime

Gets or sets the restore to point in time.

Server Server Server

Gets or sets the server.

TailLogBackupFile TailLogBackupFile TailLogBackupFile

Gets or sets the tail log backup file.

TailLogWithNoRecovery TailLogWithNoRecovery TailLogWithNoRecovery

Gets or sets whether the database restore planner tails log without using recovery.

Methods

CreateRestorePlan() CreateRestorePlan() CreateRestorePlan()

Creates the restore plan.

CreateRestorePlan(RestoreOptions) CreateRestorePlan(RestoreOptions) CreateRestorePlan(RestoreOptions)

Creates the restore plan with restore options.

Events

CreateRestorePlanUpdates CreateRestorePlanUpdates CreateRestorePlanUpdates

Occurs when the restore plan creates with updates.

Applies to