Compartir a través de


Clase RestoreOptions

Represents the restore options.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.Management.Smo.RestoreOptions

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Class RestoreOptions
'Uso
Dim instance As RestoreOptions
public class RestoreOptions
public ref class RestoreOptions
type RestoreOptions =  class end
public class RestoreOptions

El tipo RestoreOptions expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público RestoreOptions Initializes a new instance of the RestoreOptions class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Blocksize Specifies the physical block size, in bytes.
Propiedad pública BufferCount Specifies the total number of I/O buffers to be used for the restore operation.
Propiedad pública ClearSuspectPageTableAfterRestore Gets or sets whether to delete entries in the suspect page table after restore.
Propiedad pública ContinueAfterError Gets or sets whether the restore operation is to continue after an error is encountered.
Propiedad pública KeepReplication Gets or sets whether to prevent replication settings from being removed when a database backup or log backup is restored on a warm standby server and the database is recovered.
Propiedad pública MaxTransferSize Gets or sets the largest unit of transfer in bytes to be used between the backup media and SQL Server.
Propiedad pública PercentCompleteNotification Gets or sets the percentage interval for PercentCompleteEventHandler event handler calls for individual Restore Operations.
Propiedad pública RecoveryState Gets or sets the recovery state.
Propiedad pública ReplaceDatabase Gets or sets SQL Server should create the specified database and its related files even if another database already exists with the same name
Propiedad pública SetRestrictedUser Gets or sets whether to restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles.
Propiedad pública StandByFile Undo uncommitted transactions, but save the undo actions in a standby file that allows the recovery effects to be reversed.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

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.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo