The AlertRule type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AlertRule(AlertRule) |
Initializes a new instance of the AlertRule class as a clone of another instance.
| |
| AlertRule(AlertDefinition, AlertSeverity) |
Initializes a new instance of the AlertRule class.
|
Methods
| Name | Description | |
|---|---|---|
| AddAlertAction |
Adds an AlertAction to this AlertRule.
| |
| CloneTo |
Clones an AlertRule and associates it to the supplied AlertDefinition.
| |
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Overrides Object..::..Equals(Object).) | |
| Equals(AlertRule, AlertRule) | Determines whether the specified objects are equal. | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Overrides Object..::..GetHashCode()()()().) | |
| GetHashCode(AlertRule) | Returns a hash code for the specified object. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveAlertAction |
Removes an AlertAction from this AlertRule.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AlertActions |
Gets the actions.
| |
| AlertDefinition |
Gets the alert definition that is associated with this alert range.
| |
| AlertSeverity |
Gets the alert severity.
| |
| Condition |
Gets the condition.
| |
| Id |
Gets the ID for the AlertRule.
| |
| IsEditable |
Gets a value indicating whether this instance is editable.
|