Condividi tramite


Proprietà RecoveryModel

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

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property RecoveryModel As Integer
    Get
'Utilizzo
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

Valore proprietà

Tipo: 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.