Compartilhar via


Classe RestoreOptions

Represents the restore options.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Class RestoreOptions
'Uso
Dim instance As RestoreOptions
public class RestoreOptions
public ref class RestoreOptions
type RestoreOptions =  class end
public class RestoreOptions

O tipo RestoreOptions expõe os membros a seguir.

Construtores

  Nome Descrição
Método público RestoreOptions Initializes a new instance of the RestoreOptions class.

Início

Propriedades

  Nome Descrição
Propriedade pública Blocksize Specifies the physical block size, in bytes.
Propriedade pública BufferCount Specifies the total number of I/O buffers to be used for the restore operation.
Propriedade pública ClearSuspectPageTableAfterRestore Gets or sets whether to delete entries in the suspect page table after restore.
Propriedade pública ContinueAfterError Gets or sets whether the restore operation is to continue after an error is encountered.
Propriedade 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.
Propriedade pública MaxTransferSize Gets or sets the largest unit of transfer in bytes to be used between the backup media and SQL Server.
Propriedade pública PercentCompleteNotification Gets or sets the percentage interval for PercentCompleteEventHandler event handler calls for individual Restore Operations.
Propriedade pública RecoveryState Gets or sets the recovery state.
Propriedade 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
Propriedade 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.
Propriedade pública StandByFile Undo uncommitted transactions, but save the undo actions in a standby file that allows the recovery effects to be reversed.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo