IDatabaseMaintenanceFacet.RecoveryModel 屬性
Gets or set the database recovery model.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("Database_RecoveryModelName")> _
<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")> _
Property RecoveryModel As RecoveryModel
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.Management.Smo.RecoveryModel
The database recovery model.
備註
Valid values are:
BulkLogged
Full
Simple