IDatabasePerformanceFacet 接口

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

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<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
用法
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

IDatabasePerformanceFacet 类型公开以下成员。

属性

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

页首

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间