MonitoringStateChangeEvent.SubmitDiagnostic(ManagementPackDiagnostic) 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.
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.