Поделиться через


Класс RestoreOptions

Represents the restore options.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Class RestoreOptions
'Применение
Dim instance As RestoreOptions
public class RestoreOptions
public ref class RestoreOptions
type RestoreOptions =  class end
public class RestoreOptions

Тип RestoreOptions обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод RestoreOptions Initializes a new instance of the RestoreOptions class.

В начало

Свойства

  Имя Описание
Открытое свойство Blocksize Specifies the physical block size, in bytes.
Открытое свойство BufferCount Specifies the total number of I/O buffers to be used for the restore operation.
Открытое свойство ClearSuspectPageTableAfterRestore Gets or sets whether to delete entries in the suspect page table after restore.
Открытое свойство ContinueAfterError Gets or sets whether the restore operation is to continue after an error is encountered.
Открытое свойство 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.
Открытое свойство MaxTransferSize Gets or sets the largest unit of transfer in bytes to be used between the backup media and SQL Server.
Открытое свойство PercentCompleteNotification Gets or sets the percentage interval for PercentCompleteEventHandler event handler calls for individual Restore Operations.
Открытое свойство RecoveryState Gets or sets the recovery state.
Открытое свойство 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
Открытое свойство SetRestrictedUser Gets or sets whether to restrict access for the newly restored database to members of the db_owner, dbcreator, or sysadmin roles.
Открытое свойство StandByFile Undo uncommitted transactions, but save the undo actions in a standby file that allows the recovery effects to be reversed.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo