MonitorThreshold.ShouldAlert Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether an alert is generated when the metric exceeds the threshold.
public:
property bool ShouldAlert { bool get(); void set(bool value); };
public bool ShouldAlert { get; set; }
member this.ShouldAlert : bool with get, set
Public Property ShouldAlert As Boolean
Property Value
A Boolean value. If true, exceeding the threshold causes an alert. If false, no alert is raised when the threshold is exceeded.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.