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)

[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Deploy)]
property RecoveryModel RecoveryModel {
	virtual RecoveryModel get() sealed;
	virtual void set(RecoveryModel value) sealed;

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.

Return to top