Share via


ManagementGroup.GetMonitoringAlert(Guid) Method

Definition

Caution

Please use OperationalData.GetMonitoringAlert()

Retrieves an alert by state id.

public:
 Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^ GetMonitoringAlert(Guid id);
[System.Obsolete("Please use OperationalData.GetMonitoringAlert()")]
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert GetMonitoringAlert (Guid id);
member this.GetMonitoringAlert : Guid -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert
Public Function GetMonitoringAlert (id As Guid) As MonitoringAlert

Parameters

id
Guid

The id of the state for the alert alert.

Returns

The alert.

Attributes

Exceptions

An alert with that id was not found.

Applies to