Share via


DeployedDac.RecoveryModel Property

Gets a value indicating which type of recovery model is used by the DAC database.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property RecoveryModel As Integer 
    Get
'Usage
Dim instance As DeployedDac 
Dim value As Integer 

value = instance.RecoveryModel
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int RecoveryModel { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int RecoveryModel {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member RecoveryModel : int
function get RecoveryModel () : int

Property Value

Type: System.Int32
A Int value that indicates which recovery model will be used. This value corresponds to one of the values enumerated by the RecoveryModel enumeration. Full = 1, BulkLogged = 2, and Simple = 3.

See Also

Reference

DeployedDac Class

Microsoft.SqlServer.Management.Utility Namespace