共用方式為


DatabaseRecoveryState 列舉

Specifies the state of the database restore operation.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Enumeration DatabaseRecoveryState
'用途
Dim instance As DatabaseRecoveryState
public enum DatabaseRecoveryState
public enum class DatabaseRecoveryState
type DatabaseRecoveryState
public enum DatabaseRecoveryState

成員

成員名稱 說明
WithNoRecovery Instructs the restore operation to not rollback any uncommitted transactions for another transaction log backup to be restored later. The database remains in the restoring state after the restore operation.
WithRecovery Leaves the database ready to use by rolling back uncommitted transactions. Additional transaction logs cannot be restored.
WithStandBy Rollbacks uncommitted transactions, but saves the rollback actions in a standby file that allows the recovery effects to be reversed.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間