다음을 통해 공유


IDatabaseMaintenanceFacet.RecoveryModel 속성

Gets or set the database recovery model.

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

구문

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

value = instance.RecoveryModel

instance.RecoveryModel = value
[DisplayNameKeyAttribute("Database_RecoveryModelName")]
[DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")]
RecoveryModel RecoveryModel { get; set; }
[DisplayNameKeyAttribute(L"Database_RecoveryModelName")]
[DisplayDescriptionKeyAttribute(L"Database_RecoveryModelDesc")]
property RecoveryModel RecoveryModel {
    RecoveryModel get ();
    void set (RecoveryModel value);
}
[<DisplayNameKeyAttribute("Database_RecoveryModelName")>]
[<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")>]
abstract RecoveryModel : RecoveryModel with get, set
function get RecoveryModel () : RecoveryModel 
function set RecoveryModel (value : RecoveryModel)

속성 값

유형: Microsoft.SqlServer.Management.Smo.RecoveryModel
The database recovery model.

주의

Valid values are:

  • BulkLogged

  • Full

  • Simple

참고 항목

참조

IDatabaseMaintenanceFacet 인터페이스

Microsoft.SqlServer.Management.Smo 네임스페이스