Share via


MonitoringAlert.GetMonitoringAlertHistory Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets a collection of MonitoringAlertHistory objects that contain the history for the alert.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringAlert
Dim returnValue As ReadOnlyCollection(Of MonitoringAlertHistory)

returnValue = instance.GetMonitoringAlertHistory

Syntax

'Declaration
Public Function GetMonitoringAlertHistory As ReadOnlyCollection(Of MonitoringAlertHistory)
public ReadOnlyCollection<MonitoringAlertHistory> GetMonitoringAlertHistory ()
public:
ReadOnlyCollection<MonitoringAlertHistory^>^ GetMonitoringAlertHistory ()
public ReadOnlyCollection<MonitoringAlertHistory> GetMonitoringAlertHistory ()
public function GetMonitoringAlertHistory () : ReadOnlyCollection<MonitoringAlertHistory>

Return Value

Returns a ReadOnlyCollection of MonitoringAlertHistory objects that contain the history for the alert.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringAlert Class
MonitoringAlert Members
Microsoft.EnterpriseManagement.Monitoring Namespace