다음을 통해 공유


RecoveryModel 속성

Gets or sets the recovery model for the database.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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