ManagementGroup.GetMonitoringAlert(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.