Share via


MonitoringStateChangeEvent.SubmitDiagnostic Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Usage

'Usage
Dim instance As MonitoringStateChangeEvent
Dim diagnostic As ManagementPackDiagnostic
Dim returnValue As DiagnosticResult

returnValue = instance.SubmitDiagnostic(diagnostic)

Syntax

'Declaration
Public Function SubmitDiagnostic ( _
    diagnostic As ManagementPackDiagnostic _
) As DiagnosticResult
public DiagnosticResult SubmitDiagnostic (
    ManagementPackDiagnostic diagnostic
)
public:
DiagnosticResult^ SubmitDiagnostic (
    ManagementPackDiagnostic^ diagnostic
)
public DiagnosticResult SubmitDiagnostic (
    ManagementPackDiagnostic diagnostic
)
public function SubmitDiagnostic (
    diagnostic : ManagementPackDiagnostic
) : DiagnosticResult

Parameters

  • diagnostic

Return Value

Returns DiagnosticResult.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringStateChangeEvent Class
MonitoringStateChangeEvent Members
Microsoft.EnterpriseManagement.Monitoring Namespace