Share via


MonitoringStateChangeEvent.SubmitDiagnostic(ManagementPackDiagnostic) Method

Definition

Submits a ManagementPackDiagnostic for the current state change event.

public:
 Microsoft::EnterpriseManagement::Monitoring::DiagnosticResult ^ SubmitDiagnostic(Microsoft::EnterpriseManagement::Configuration::ManagementPackDiagnostic ^ diagnostic);
public Microsoft.EnterpriseManagement.Monitoring.DiagnosticResult SubmitDiagnostic (Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnostic diagnostic);
member this.SubmitDiagnostic : Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnostic -> Microsoft.EnterpriseManagement.Monitoring.DiagnosticResult
Public Function SubmitDiagnostic (diagnostic As ManagementPackDiagnostic) As DiagnosticResult

Parameters

diagnostic
ManagementPackDiagnostic

The ManagementPackDiagnostic to submit.

Returns

A DiagnosticResult object represents the current state of the diagnostic.

Exceptions

There was an error processing results on the server.

Applies to