Condividi tramite


Interfaccia IDatabaseMaintenanceFacet

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

Questa API non è conforme a CLS. 

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<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
'Utilizzo
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

Nel tipo IDatabaseMaintenanceFacet sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica DataAndBackupOnSeparateLogicalVolumes A Boolean value that indicates if data and backup are on separate logical volumes.
Proprietà pubblica LastBackupDate Gets a datetime for the last database backup.
Proprietà pubblica LastLogBackupDate Gets a datetime for the last log backup.
Proprietà pubblica PageVerify Gets or sets the type of page integrity check that SQL Server performs when reading database pages
Proprietà pubblica ReadOnly Gets or sets a Boolean value that specifies if the database is read-only.
Proprietà pubblica RecoveryModel Gets or set the database recovery model.
Proprietà pubblica Status Gets a DatabaseStatus object.

In alto