다음을 통해 공유


RecoveryModel 속성

Gets or sets the recovery model for the database.

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

구문

‘선언
<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")> _
<DisplayNameKeyAttribute("Database_RecoveryModelName")> _
Property RecoveryModel As RecoveryModel
    Get
    Set
‘사용 방법
Dim instance As IDatabaseOptions
Dim value As RecoveryModel

value = instance.RecoveryModel

instance.RecoveryModel = value
[DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")]
[DisplayNameKeyAttribute("Database_RecoveryModelName")]
RecoveryModel RecoveryModel { get; set; }
[DisplayDescriptionKeyAttribute(L"Database_RecoveryModelDesc")]
[DisplayNameKeyAttribute(L"Database_RecoveryModelName")]
property RecoveryModel RecoveryModel {
    RecoveryModel get ();
    void set (RecoveryModel value);
}
[<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")>]
[<DisplayNameKeyAttribute("Database_RecoveryModelName")>]
abstract 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.