Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Represents a sequence of Database Restore operations which will recover a database to a particular state in a point in time.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Management.Smo.RestorePlan
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Class RestorePlan
'Uso
Dim instance As RestorePlan
public class RestorePlan
public ref class RestorePlan
type RestorePlan = class end
public class RestorePlan
El tipo RestorePlan expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
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. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
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. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
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 | (Se hereda de Object.) |
![]() |
Execute | Verifies and executes the Restore Plan. |
![]() |
ExecuteAsync | Verifies and executes the Restore Plan async. |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
Script | Verifies the Restore plan and scripts the operation. |
![]() |
SetRestoreOptions | Sets the restore options. |
![]() |
ToString | (Se hereda de Object.) |
![]() |
Verify | Verifies the restore plan. |
Arriba
Eventos
| Nombre | Descripción | |
|---|---|---|
![]() |
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. |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)
.gif)
.gif)