Share via


MSFT_AlertHistory Class

Note Note   

The MOM WMI classes has been deprecated and should not be used when creating new scripts. The WMI classes are included only to support existing scripts.

The MSFT_AlertHistory object represents a copy of an alert at a point in time when the alert was modified, either by a user or by MOM.

Using the MSFT_AlertToAlertHistory association class, you can query all of the MSFT_AlertHistory objects associated with a specific MSFT_Alert object. The MSFT_Alert class does not expose a property to return this collection of MSFT_AlertHistory objects.

The properties of the MSFT_AlertHistory class are read-only. The MSFT_AlertHistory property values are copied from the MSFT_Alert object. Each time a modified MSFT_Alert object is saved back to WMI, an MSFT_AlertHistory object is automatically created. The MSFT_AlertHistory object's property values are copied from the equivalent properties of the MSFT_Alert object before the changes to the MSFT_Alert object are committed.

Properties

Name Description

Comment

Gets the comment associated with the alert.

CustomField1

Gets the first user-defined field.

CustomField2

Gets the second user-defined field.

CustomField3

Gets the third user-defined field.

CustomField4

Gets the fourth user-defined field.

CustomField5

Gets the fifth user-defined field.

GUID

Gets the GUID identifying the MOM alert history object.

ModifiedBy

Gets the last user to change the alert's properties.

OwnerName

Gets the owner of the alert.

ResolutionState

Gets the state of the alert.

TimeModified

Gets the time when the alert's state or properties last changed.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

See Also

MOM WMI Classes | MSFT_AlertToAlertHistory Class