Condividi tramite


Proprietà RecoveryModel

Gets or sets the recovery model for the database.

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property RecoveryModel As RecoveryModel
    Get
    Set
'Utilizzo
Dim instance As DatabaseOptions
Dim value As RecoveryModel

value = instance.RecoveryModel

instance.RecoveryModel = value
[SfcPropertyAttribute]
public RecoveryModel RecoveryModel { get; set; }
[SfcPropertyAttribute]
public:
property RecoveryModel RecoveryModel {
    RecoveryModel get ();
    void set (RecoveryModel value);
}
[<SfcPropertyAttribute>]
member RecoveryModel : RecoveryModel with get, set
function get RecoveryModel () : RecoveryModel
function set RecoveryModel (value : RecoveryModel)

Valore proprietà

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