Share via


ManagementGroup.GetMonitor(Guid) Method

Definition

Caution

Please use Monitoring.GetMonitor()

Gets a monitor by id.

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

Parameters

id
Guid

The id of the requested monitor.

Returns

The monitor.

Attributes

Exceptions

A ManagementPackMonitor with that id was not found.

Applies to