Share via


ManagementGroup.GetMonitoringObject(Guid) Method

Definition

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.

Applies to