Aracılığıyla paylaş


IDatabaseMaintenanceFacet Interface

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

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")> _
<CLSCompliantAttribute(False)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Interface IDatabaseMaintenanceFacet _
    Inherits IDmfFacet
'Kullanım
Dim instance As IDatabaseMaintenanceFacet
[DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface IDatabaseMaintenanceFacet : IDmfFacet
[DisplayNameKeyAttribute(L"IDatabaseMaintenanceFacet_Name")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute(L"IDatabaseMaintenanceFacet_Desc")]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface class IDatabaseMaintenanceFacet : IDmfFacet
[<DisplayNameKeyAttribute("IDatabaseMaintenanceFacet_Name")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayDescriptionKeyAttribute("IDatabaseMaintenanceFacet_Desc")>]
[<CLSCompliantAttribute(false)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type IDatabaseMaintenanceFacet =  
    interface
        interface IDmfFacet
    end
public interface IDatabaseMaintenanceFacet extends IDmfFacet

The IDatabaseMaintenanceFacet type exposes the following members.

Properties

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

Top

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace