Partager via


InstrumentationNode.PerformanceCountersEnabled Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets if performance counters are enabled.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Configuration.Design.dll)

Syntax

'Declaration
PublicPropertyPerformanceCountersEnabledAs Boolean
public bool PerformanceCountersEnabled { get; set; }
public:
property bool PerformanceCountersEnabled {
    bool get ();
    voidset (bool value);
}
publicfunction getPerformanceCountersEnabled () : boolean
publicfunction setPerformanceCountersEnabled (value : boolean)

Field Value

true if performace counters are enabled; otherwise false.

See Also

InstrumentationNode Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.