Share via


MonitoringStateChangeEvent.ExecuteMonitoringDiagnostic Method (MonitoringDiagnostic)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Synchronously executes a diagnostic.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use this.ExecuteDiagnostic()")]
public MonitoringDiagnosticResult ExecuteMonitoringDiagnostic(
    MonitoringDiagnostic monitoringDiagnostic
)
public:
[ObsoleteAttribute("Use this.ExecuteDiagnostic()")]
MonitoringDiagnosticResult^ ExecuteMonitoringDiagnostic(
    MonitoringDiagnostic^ monitoringDiagnostic
)
[<ObsoleteAttribute("Use this.ExecuteDiagnostic()")>]
member ExecuteMonitoringDiagnostic : 
        monitoringDiagnostic:MonitoringDiagnostic -> MonitoringDiagnosticResult
<ObsoleteAttribute("Use this.ExecuteDiagnostic()")>
Public Function ExecuteMonitoringDiagnostic (
    monitoringDiagnostic As MonitoringDiagnostic
) As MonitoringDiagnosticResult

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringDiagnosticResult

Returns a MonitoringDiagnosticResult that is the result of running the diagnostic.

See Also

MonitoringStateChangeEvent Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top