Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents a sequence of Database Restore operations which will recover a database to a particular state in a point in time.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Smo.RestorePlan
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Class RestorePlan
'Usage
Dim instance As RestorePlan
public class RestorePlan
public ref class RestorePlan
type RestorePlan = class end
public class RestorePlan
Der RestorePlan-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
RestorePlan(Database) | Initializes a new instance of the RestorePlan class with specified database. |
![]() |
RestorePlan(Server) | Initializes a new instance of the RestorePlan class with specified server. |
![]() |
RestorePlan(Server, String) | Initializes a new instance of the RestorePlan class with specified server and database name. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
AsyncStatus | Gets the status of most recent asynchronous operation including possible errors. |
![]() |
CloseExistingConnections | Gets or sets a value indicating whether to close existing connections. |
![]() |
DatabaseName | Gets or sets the name of the database. |
![]() |
RestoreAction | Gets and sets the type of the Restore action: Database,File,Log,Page. |
![]() |
RestoreOperations | Gets or sets the restore operations. |
![]() |
Server | Gets or sets the erver where the Restore plan executes. |
![]() |
TailLogBackupOperation | Gets or sets the tail log backup operation. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
AddRestoreOperation(BackupSet) | Adds the restore operation with specified backup set to be restored. |
![]() |
AddRestoreOperation(List<BackupSet>) | Adds the restore operations with specified backup sets.. |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Execute | Verifies and executes the Restore Plan. |
![]() |
ExecuteAsync | Verifies and executes the Restore Plan async. |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
Script | Verifies the Restore plan and scripts the operation. |
![]() |
SetRestoreOptions | Sets the restore options. |
![]() |
ToString | (Geerbt von Object.) |
![]() |
Verify | Verifies the restore plan. |
Zum Anfang
Ereignisse
| Name | Beschreibung | |
|---|---|---|
![]() |
Complete | Occurs when the restore plan is completed. |
![]() |
Information | Occurs when the server sends information. |
![]() |
NextMedia | Occurs when the next media needs to be loaded. |
![]() |
NextRestore | Occurs when the next restore occurs. |
![]() |
PercentComplete | Occurs when the server sends percent complete information. |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)
.gif)