Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DatabaseRestorePlanner Class

SQL Server 2012

Represents the Database Restore Planner.

System.Object
  Microsoft.SqlServer.Management.Smo.DatabaseRestorePlanner

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public final class DatabaseRestorePlanner

The DatabaseRestorePlanner type exposes the following members.

  NameDescription
Public methodDatabaseRestorePlanner(Server)Initializes a new instance of the DatabaseRestorePlanner class with specified server.
Public methodDatabaseRestorePlanner(Server, String)Initializes a new instance of the DatabaseRestorePlanner class with specified server and database name.
Public methodDatabaseRestorePlanner(Server, String, DateTime, String)Initializes a new instance of the DatabaseRestorePlanner class with specified server, database name, point in time and recovery file.
Top
  NameDescription
Public propertyBackupMediaListGets the backup device item list.
Public propertyBackupTailLogGets or sets a value indicating whether to backup tail log.
Public propertyDatabaseNameGets or sets the database name.
Public propertyReadHeaderFromMediaGets or sets a value indicating whether read header from devices.
Public propertyRestoreToLastBackupGets or sets a value indicating whether restore to last backup.
Public propertyRestoreToPointInTimeGets or sets the restore to point in time.
Public propertyServerGets or sets the server.
Public propertyTailLogBackupFileGets or sets the tail log backup file.
Public propertyTailLogWithNoRecoveryGets or sets whether the database restore planner tails log without using recovery.
Top
  NameDescription
Public methodCreateRestorePlan()Creates the restore plan.
Public methodCreateRestorePlan(RestoreOptions)Creates the restore plan with restore options.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.