Edit

Share via


PerformanceCountersElement.Enabled Property

Definition

Gets or sets whether performance counters are enabled.

public:
 property bool Enabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("enabled", DefaultValue=false)]
public bool Enabled { get; set; }
[<System.Configuration.ConfigurationProperty("enabled", DefaultValue=false)>]
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

true if performance counters are enabled; otherwise, false.

Attributes

Remarks

The default value for this property is false.

Applies to

See also