Condividi tramite


Proprietà RecoveryModel

Gets or set the database recovery model.

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

Sintassi

'Dichiarazione
<DisplayNameKeyAttribute("Database_RecoveryModelName")> _
<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")> _
Property RecoveryModel As RecoveryModel
    Get
    Set
'Utilizzo
Dim instance As IDatabaseMaintenanceFacet
Dim value As RecoveryModel

value = instance.RecoveryModel

instance.RecoveryModel = value
[DisplayNameKeyAttribute("Database_RecoveryModelName")]
[DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")]
RecoveryModel RecoveryModel { get; set; }
[DisplayNameKeyAttribute(L"Database_RecoveryModelName")]
[DisplayDescriptionKeyAttribute(L"Database_RecoveryModelDesc")]
property RecoveryModel RecoveryModel {
    RecoveryModel get ();
    void set (RecoveryModel value);
}
[<DisplayNameKeyAttribute("Database_RecoveryModelName")>]
[<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")>]
abstract RecoveryModel : RecoveryModel with get, set
function get RecoveryModel () : RecoveryModel
function set RecoveryModel (value : RecoveryModel)

Osservazioni

Valid values are:

  • BulkLogged

  • Full

  • Simple