Поделиться через


Интерфейс 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)

Синтаксис

'Декларация
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_Desc")> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayNameKeyAttribute("IDatabasePerformanceFacet_Name")> _
<CLSCompliantAttribute(False)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public Interface IDatabasePerformanceFacet _
    Inherits IDmfFacet
'Применение
Dim instance As IDatabasePerformanceFacet
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_Desc")]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute("IDatabasePerformanceFacet_Name")]
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
public interface IDatabasePerformanceFacet : IDmfFacet
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayDescriptionKeyAttribute(L"IDatabasePerformanceFacet_Desc")]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayNameKeyAttribute(L"IDatabasePerformanceFacet_Name")]
[CLSCompliantAttribute(false)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
public interface class IDatabasePerformanceFacet : IDmfFacet
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_Desc")>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayNameKeyAttribute("IDatabasePerformanceFacet_Name")>]
[<CLSCompliantAttribute(false)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
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.

В начало