MonitoringStateChangeEvent.ExecuteMonitoringDiagnostic(MonitoringDiagnostic) 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
Use this.ExecuteDiagnostic()
Synchronously executes a diagnostic.
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringDiagnosticResult ^ ExecuteMonitoringDiagnostic(Microsoft::EnterpriseManagement::Configuration::MonitoringDiagnostic ^ monitoringDiagnostic);
[System.Obsolete("Use this.ExecuteDiagnostic()")]
public Microsoft.EnterpriseManagement.Monitoring.MonitoringDiagnosticResult ExecuteMonitoringDiagnostic (Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic monitoringDiagnostic);
member this.ExecuteMonitoringDiagnostic : Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic -> Microsoft.EnterpriseManagement.Monitoring.MonitoringDiagnosticResult
Public Function ExecuteMonitoringDiagnostic (monitoringDiagnostic As MonitoringDiagnostic) As MonitoringDiagnosticResult
Parameters
- monitoringDiagnostic
- MonitoringDiagnostic
A reference to the MonitoringDiagnostic to execute.
Returns
Returns a MonitoringDiagnosticResult that is the result of running the diagnostic.
- Attributes