Export (0) Print
Expand All
Expand Minimize

Database.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)

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy Or SfcPropertyFlags.Matrix)> _
Public Property RecoveryModel As RecoveryModel 
	Get 
	Set
'Usage
Dim instance As Database 
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.

Implements

IDatabaseOptions.RecoveryModel
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft