Aracılığıyla paylaş


IDatabaseMaintenanceFacet.RecoveryModel Property

Gets or set the database recovery model.

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

Syntax

'Bildirim
<DisplayNameKeyAttribute("Database_RecoveryModelName")> _
<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")> _
Property RecoveryModel As RecoveryModel
    Get
    Set
'Kullanım
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)

Property Value

Type: Microsoft.SqlServer.Management.Smo.RecoveryModel
The database recovery model.

Remarks

Valid values are:

  • BulkLogged

  • Full

  • Simple

See Also

Reference

IDatabaseMaintenanceFacet Interface

Microsoft.SqlServer.Management.Smo Namespace