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)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")> _
<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Interface IDatabaseMaintenanceFacet _
    Inherits IDmfFacet
用法
Dim instance As IDatabaseMaintenanceFacet
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")]
[DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface IDatabaseMaintenanceFacet : IDmfFacet
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IDatabaseMaintenanceFacet_Name")]
[DisplayDescriptionKeyAttribute(L"IDatabaseMaintenanceFacet_Desc")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface class IDatabaseMaintenanceFacet : IDmfFacet
[<CLSCompliantAttribute(false)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")>]
[<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")>]
[<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 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.

页首