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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。