DatabaseOptions.RecoveryModel 属性

Gets or sets the recovery model for the database.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RecoveryModel As RecoveryModel 
    Get 
    Set
用法
Dim instance As DatabaseOptions 
Dim value As RecoveryModel 

value = instance.RecoveryModel

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

属性值

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

示例

设置属性

请参阅

参考

DatabaseOptions 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

数据库选项