共用方式為


RecoveryModel 屬性

Gets or sets the recovery model for the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property RecoveryModel As RecoveryModel
    Get
    Set
'用途
Dim instance As Database
Dim value As RecoveryModel

value = instance.RecoveryModel

instance.RecoveryModel = value
[SfcPropertyAttribute]
public RecoveryModel RecoveryModel { get; set; }
[SfcPropertyAttribute]
public:
virtual property RecoveryModel RecoveryModel {
    RecoveryModel get () sealed;
    void set (RecoveryModel value) sealed;
}
[<SfcPropertyAttribute>]
abstract RecoveryModel : RecoveryModel with get, set
[<SfcPropertyAttribute>]
override RecoveryModel : RecoveryModel with get, set
final function get RecoveryModel () : RecoveryModel
final 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.

實作

IDatabaseOptions. . :: . .RecoveryModel