PartialMonitoringObject.GetMonitoringDiagnostics Method (MonitoringDiagnosticCriteria)
Gets all the diagnostics that are targeted toward this monitoring object, based on all the types of the entity and the base types and that meet the criteria filter.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim instance As PartialMonitoringObject
Dim criteria As MonitoringDiagnosticCriteria
Dim returnValue As ReadOnlyCollection(Of MonitoringDiagnostic)
returnValue = instance.GetMonitoringDiagnostics(criteria)
Syntax
'Declaration
Public Function GetMonitoringDiagnostics ( _
criteria As MonitoringDiagnosticCriteria _
) As ReadOnlyCollection(Of MonitoringDiagnostic)
public ReadOnlyCollection<MonitoringDiagnostic> GetMonitoringDiagnostics (
MonitoringDiagnosticCriteria criteria
)
public:
ReadOnlyCollection<MonitoringDiagnostic^>^ GetMonitoringDiagnostics (
MonitoringDiagnosticCriteria^ criteria
)
public ReadOnlyCollection<MonitoringDiagnostic> GetMonitoringDiagnostics (
MonitoringDiagnosticCriteria criteria
)
public function GetMonitoringDiagnostics (
criteria : MonitoringDiagnosticCriteria
) : ReadOnlyCollection<MonitoringDiagnostic>
Parameters
- criteria
A value that specifies the kind of monitoring diagnostics.
Return Value
A read-only collection of MonitoringDiagnostic 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
PartialMonitoringObject Class
PartialMonitoringObject Members
Microsoft.EnterpriseManagement.Monitoring Namespace