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 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间