다음을 통해 공유


IDatabaseMaintenanceFacet 인터페이스

Interface that defined methods and properties for the database maintenance facet.

이 API는 CLS 규격이 아닙니다. 

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

구문

‘선언
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")> _
<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<CLSCompliantAttribute(False)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Interface IDatabaseMaintenanceFacet _
    Inherits IDmfFacet
‘사용 방법
Dim instance As IDatabaseMaintenanceFacet
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")]
[DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface IDatabaseMaintenanceFacet : IDmfFacet
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute(L"IDatabaseMaintenanceFacet_Desc")]
[DisplayNameKeyAttribute(L"IDatabaseMaintenanceFacet_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface class IDatabaseMaintenanceFacet : IDmfFacet
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")>]
[<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<CLSCompliantAttribute(false)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type IDatabaseMaintenanceFacet =  
    interface 
        interface IDmfFacet 
    end
public interface IDatabaseMaintenanceFacet extends IDmfFacet

IDatabaseMaintenanceFacet 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 DataAndBackupOnSeparateLogicalVolumes A Boolean value that indicates if data and backup are on separate logical volumes.
공용 속성 LastBackupDate Gets a date and time for the last database backup.
공용 속성 LastLogBackupDate Gets a date and time for the last log backup.
공용 속성 PageVerify Gets or sets the type of page integrity check that SQL Server performs when reading database pages.
공용 속성 ReadOnly Gets or sets a Boolean value that specifies if the database is read-only.
공용 속성 RecoveryModel Gets or set the database recovery model.
공용 속성 Status Gets a DatabaseStatus object.
공용 속성 TargetRecoveryTime Gets or sets the database for the target recovery time.

맨 위로 이동

참고 항목

참조

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