Submits a monitoring diagnostic for the current state change event. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringStateChangeEvent
Dim monitoringDiagnostic As MonitoringDiagnostic
Dim returnValue As MonitoringDiagnosticResult

returnValue = instance.SubmitMonitoringDiagnostic(monitoringDiagnostic)

Syntax

Visual Basic
Public Function SubmitMonitoringDiagnostic ( _
		monitoringDiagnostic As MonitoringDiagnostic _
) As MonitoringDiagnosticResult
C#
public MonitoringDiagnosticResult SubmitMonitoringDiagnostic (
		MonitoringDiagnostic monitoringDiagnostic
)
C++
public:
MonitoringDiagnosticResult^ SubmitMonitoringDiagnostic (
		MonitoringDiagnostic^ monitoringDiagnostic
)
J#
public MonitoringDiagnosticResult SubmitMonitoringDiagnostic (
		MonitoringDiagnostic monitoringDiagnostic
)
JScript
public function SubmitMonitoringDiagnostic (
		monitoringDiagnostic : MonitoringDiagnostic
) : MonitoringDiagnosticResult

Parameters

monitoringDiagnostic

The monitoring diagnostic to submit.

Return Value

Returns a MonitoringDiagnosticResult object that represents the current state of the diagnostic.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also