Classe DatabaseRestorePlanner
Represents the Database Restore Planner.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.DatabaseRestorePlanner
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public NotInheritable Class DatabaseRestorePlanner
'Utilisation
Dim instance As DatabaseRestorePlanner
public sealed class DatabaseRestorePlanner
public ref class DatabaseRestorePlanner sealed
[<SealedAttribute>]
type DatabaseRestorePlanner = class end
public final class DatabaseRestorePlanner
Le type DatabaseRestorePlanner expose les membres suivants.
Constructeurs
Nom | 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. |
Haut de la page
Propriétés
Nom | 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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
CreateRestorePlan() | Creates the restore plan. | |
CreateRestorePlan(RestoreOptions) | Creates the restore plan with restore options. | |
Equals | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.