次の方法で共有


ManagementGroup.GetMonitoringDiagnosticResults Method (MonitoringDiagnosticResultCriteria)

Retrieves a collection of diagnostic results that match the specified filter.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementGroup
Dim criteria As MonitoringDiagnosticResultCriteria
Dim returnValue As ReadOnlyCollection(Of MonitoringDiagnosticResult)

returnValue = instance.GetMonitoringDiagnosticResults(criteria)

Syntax

'Declaration
Public Function GetMonitoringDiagnosticResults ( _
    criteria As MonitoringDiagnosticResultCriteria _
) As ReadOnlyCollection(Of MonitoringDiagnosticResult)
public ReadOnlyCollection<MonitoringDiagnosticResult> GetMonitoringDiagnosticResults (
    MonitoringDiagnosticResultCriteria criteria
)
public:
ReadOnlyCollection<MonitoringDiagnosticResult^>^ GetMonitoringDiagnosticResults (
    MonitoringDiagnosticResultCriteria^ criteria
)
public ReadOnlyCollection<MonitoringDiagnosticResult> GetMonitoringDiagnosticResults (
    MonitoringDiagnosticResultCriteria criteria
)
public function GetMonitoringDiagnosticResults (
    criteria : MonitoringDiagnosticResultCriteria
) : ReadOnlyCollection<MonitoringDiagnosticResult>

Parameters

  • criteria
    A value that specifies the kind of diagnostic results to be returned.

Return Value

A read-only collection of MonitoringDiagnosticResult objects.

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

Reference

ManagementGroup Class
ManagementGroup Members
Microsoft.EnterpriseManagement Namespace

Send comments about this topic to Microsoft.