Partager via


Interface IDatabasePerformanceFacet

Defines methods and properties that can be used to measure and influence database performance.

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_Desc")> _
<CLSCompliantAttribute(False)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<DisplayNameKeyAttribute("IDatabasePerformanceFacet_Name")> _
Public Interface IDatabasePerformanceFacet _
    Inherits IDmfFacet
'Utilisation
Dim instance As IDatabasePerformanceFacet
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_Desc")]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute("IDatabasePerformanceFacet_Name")]
public interface IDatabasePerformanceFacet : IDmfFacet
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute(L"IDatabasePerformanceFacet_Desc")]
[CLSCompliantAttribute(false)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute(L"IDatabasePerformanceFacet_Name")]
public interface class IDatabasePerformanceFacet : IDmfFacet
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_Desc")>]
[<CLSCompliantAttribute(false)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<DisplayNameKeyAttribute("IDatabasePerformanceFacet_Name")>]
type IDatabasePerformanceFacet =  
    interface 
        interface IDmfFacet 
    end
public interface IDatabasePerformanceFacet extends IDmfFacet

Le type IDatabasePerformanceFacet expose les membres suivants.

Propriétés

  Nom Description
Propriété publique AutoClose Gets or sets a value that indicates whether the database will be closed automatically after the last user exits.
Propriété publique AutoShrink Indicates whether the database files are candidates for periodic shrinking.
Propriété publique CollationMatchesModelOrMaster Gets a value that indicates whether the collation of the database matches the master or model database.
Propriété publique DataAndLogFilesOnSeparateLogicalVolumes Indicates whether the database has its data and log files on different logical volumes.
Propriété publique IsSystemObject Indicates whether the database performance facet is a system object.
Propriété publique Size Gets the size of the database in megabytes (MB).
Propriété publique Status Gets the database status.

Haut de la page

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo