DatabaseRestorePlanner Class

 

Represents the Database Restore Planner.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

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

public sealed class DatabaseRestorePlanner

NameDescription
System_CAPS_pubmethodDatabaseRestorePlanner(Server)

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

System_CAPS_pubmethodDatabaseRestorePlanner(Server, String)

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

System_CAPS_pubmethodDatabaseRestorePlanner(Server, String, DateTime, String)

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

NameDescription
System_CAPS_pubpropertyBackupMediaList

Gets the backup device item list.

System_CAPS_pubpropertyBackupTailLog

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

System_CAPS_pubpropertyDatabaseName

Gets or sets the database name.

System_CAPS_pubpropertyReadHeaderFromMedia

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

System_CAPS_pubpropertyRestoreToLastBackup

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

System_CAPS_pubpropertyRestoreToPointInTime

Gets or sets the restore to point in time.

System_CAPS_pubpropertyServer

Gets or sets the server.

System_CAPS_pubpropertyTailLogBackupFile

Gets or sets the tail log backup file.

System_CAPS_pubpropertyTailLogWithNoRecovery

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

NameDescription
System_CAPS_pubmethodCreateRestorePlan()

Creates the restore plan.

System_CAPS_pubmethodCreateRestorePlan(RestoreOptions)

Creates the restore plan with restore options.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCreateRestorePlanUpdates

Occurs when the restore plan creates with updates.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: