다음을 통해 공유


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 DatabaseOptions
Dim value As RecoveryModel

value = instance.RecoveryModel

instance.RecoveryModel = value
[SfcPropertyAttribute]
public RecoveryModel RecoveryModel { get; set; }
[SfcPropertyAttribute]
public:
property RecoveryModel RecoveryModel {
    RecoveryModel get ();
    void set (RecoveryModel value);
}
[<SfcPropertyAttribute>]
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.

예제

속성 설정