共用方式為


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 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")> _
<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
Public Interface IDatabaseMaintenanceFacet _
    Inherits IDmfFacet
'用途
Dim instance As IDatabaseMaintenanceFacet
[CLSCompliantAttribute(false)]
[DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")]
[DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface IDatabaseMaintenanceFacet : IDmfFacet
[CLSCompliantAttribute(false)]
[DisplayNameKeyAttribute(L"IDatabaseMaintenanceFacet_Name")]
[DisplayDescriptionKeyAttribute(L"IDatabaseMaintenanceFacet_Desc")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
public interface class IDatabaseMaintenanceFacet : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")>]
[<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
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 datetime for the last database backup.
公用屬性 LastLogBackupDate Gets a datetime 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.

上層