PerformanceCountersElement::Enabled Property

 

Gets or sets whether performance counters are enabled.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

public:
[ConfigurationPropertyAttribute("enabled", DefaultValue = false)]
property bool Enabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if performance counters are enabled; otherwise, false.

The default value for this property is false.

.NET Framework
Available since 2.0
Return to top
Show: