Share via


ManagementGroup.GetMonitoringDiagnostic(Guid) Method

Definition

Caution

Please use Monitoring.GetDiagnostic()

Gets a diagnostic by id.

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

Parameters

id
Guid

The id of the requested diagnostic.

Returns

The rule.

Attributes

Exceptions

A MonitoringDiagnostic with that id was not found.

Applies to