Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseOptions.RecoveryModel Property

Gets or sets the recovery model for the database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)> _
Public Property RecoveryModel As RecoveryModel 
Dim instance As DatabaseOptions 
Dim value As RecoveryModel 

value = instance.RecoveryModel

instance.RecoveryModel = value

Property Value

Type: Microsoft.SqlServer.Management.Smo.RecoveryModel
A RecoveryModel object value that specifies the recovery model that is currently in operation on the database.

Community Additions

© 2015 Microsoft