Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

DatabaseRecoveryState Enumeration

SQL Server 2012

Specifies the state of the database restore operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public enum DatabaseRecoveryState
Member nameDescription
WithNoRecoveryInstructs 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.
WithRecoveryLeaves the database ready to use by rolling back uncommitted transactions. Additional transaction logs cannot be restored.
WithStandByRollbacks uncommitted transactions, but saves the rollback actions in a standby file that allows the recovery effects to be reversed.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.