DatabaseRestorePlanner-Klasse

Represents the Database Restore Planner.

Vererbungshierarchie

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

Der DatabaseRestorePlanner-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DatabaseRestorePlanner(Server) Initializes a new instance of the DatabaseRestorePlanner class with specified server.
Öffentliche Methode DatabaseRestorePlanner(Server, String) Initializes a new instance of the DatabaseRestorePlanner class with specified server and database name.
Öffentliche Methode DatabaseRestorePlanner(Server, String, DateTime, String) Initializes a new instance of the DatabaseRestorePlanner class with specified server, database name, point in time and recovery file.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft BackupMediaList Gets the backup device item list.
Öffentliche Eigenschaft BackupTailLog Gets or sets a value indicating whether to backup tail log.
Öffentliche Eigenschaft DatabaseName Gets or sets the database name.
Öffentliche Eigenschaft ReadHeaderFromMedia Gets or sets a value indicating whether read header from devices.
Öffentliche Eigenschaft RestoreToLastBackup Gets or sets a value indicating whether restore to last backup.
Öffentliche Eigenschaft RestoreToPointInTime Gets or sets the restore to point in time.
Öffentliche Eigenschaft Server Gets or sets the server.
Öffentliche Eigenschaft TailLogBackupFile Gets or sets the tail log backup file.
Öffentliche Eigenschaft TailLogWithNoRecovery Gets or sets whether the database restore planner tails log without using recovery.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CreateRestorePlan() Creates the restore plan.
Öffentliche Methode CreateRestorePlan(RestoreOptions) Creates the restore plan with restore options.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace