ManagementGroup.GetMonitoringObject(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 EntityObjects.GetMonitoringObject()
This method returns the MonitoringObject by id
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringObject ^ GetMonitoringObject(Guid id);
[System.Obsolete("Please use EntityObjects.GetMonitoringObject()")]
public Microsoft.EnterpriseManagement.Monitoring.MonitoringObject GetMonitoringObject (Guid id);
member this.GetMonitoringObject : Guid -> Microsoft.EnterpriseManagement.Monitoring.MonitoringObject
Public Function GetMonitoringObject (id As Guid) As MonitoringObject
Parameters
- id
- Guid
id
Returns
A reference to the MonitoringObject.
- Attributes
Exceptions
MonitoringObject with the given id was not found.