RecoveryModel 属性

Gets or set the database recovery model.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")> _
<DisplayNameKeyAttribute("Database_RecoveryModelName")> _
Property RecoveryModel As RecoveryModel
    Get
    Set
用法
Dim instance As IDatabaseMaintenanceFacet
Dim value As RecoveryModel

value = instance.RecoveryModel

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

注释

Valid values are:

  • BulkLogged

  • Full

  • Simple