Freigeben über


IDatabaseMaintenanceFacet-Schnittstelle

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

Diese API ist nicht mit CLS kompatibel. 

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

Syntax

'Declaration
<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
'Usage
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

Der IDatabaseMaintenanceFacet-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace