Share via


MonitoringStateChangeEvent.ExecuteDiagnostic 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.ExecuteDiagnostic(diagnostic)

Syntax

'Declaration
Public Function ExecuteDiagnostic ( _
    diagnostic As ManagementPackDiagnostic _
) As DiagnosticResult
public DiagnosticResult ExecuteDiagnostic (
    ManagementPackDiagnostic diagnostic
)
public:
DiagnosticResult^ ExecuteDiagnostic (
    ManagementPackDiagnostic^ diagnostic
)
public DiagnosticResult ExecuteDiagnostic (
    ManagementPackDiagnostic diagnostic
)
public function ExecuteDiagnostic (
    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