ManagementGroup.GetMonitoringEvent(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.GetMonitoringEvent()
Retrieves an event by id.
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^ GetMonitoringEvent(Guid id);
[System.Obsolete("Please use OperationalData.GetMonitoringEvent()")]
public Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent GetMonitoringEvent (Guid id);
member this.GetMonitoringEvent : Guid -> Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent
Public Function GetMonitoringEvent (id As Guid) As MonitoringEvent
Parameters
- id
- Guid
The id of the event.
Returns
The event.
- Attributes
Exceptions
The object with the requested parameters was not found.