Alert Object
Use the Alert object to manipulate alerts provided by MOM through the ScriptContext.Alert property and alerts created by the script with the ScriptContext.CreateAlert method.
Methods
Name | Description |
---|---|
Appends an entry to the alert's history. |
|
Retrieves the value of a user-defined custom field of an alert. |
|
Sets the value of a user-defined custom field of an alert. |
Properties
Name | Description |
---|---|
Gets or sets the severity of the alert. |
|
Gets or sets the source of the alert. |
|
Gets or sets the type of service component that the alert is associated with. |
|
Gets or sets the service component instance that the alert is associated with. |
|
Gets or sets the name of the computer that raised the alert. |
|
Gets or sets the domain name of the computer that raised the alert. |
|
Gets or sets the description of the alert. |
|
Gets the globally unique identifier (GUID) of the alert. |
|
Gets or sets the name of the rule that raised the alert. |
|
Gets or sets the name of the alert owner. |
|
Indicates whether the condition that originally raised the alert is still in the same state. |
|
Gets or sets the resolution state of the alert. |
|
Gets or sets the service that the alert is associated with. |
|
Gets or sets the specific service instance that the alert is associated with. |
|
Gets the date and time at which the first event that raised an alert occurred. |
|
Gets the date and time at which the last event that raised an alert occurred. |
Requirements
Platforms: Requires Windows 2000 or later
Version: Requires MOM 2000 or later
See Also
ScriptContext.CreateAlert Method | ScriptContext.Alert Property