ManagementGroup.GetMonitoringObjects Method (MonitoringObjectGenericCriteria, MonitoringClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
public ReadOnlyCollection<MonitoringObject> GetMonitoringObjects(
MonitoringObjectGenericCriteria criteria,
MonitoringClass monitoringClass
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
ReadOnlyCollection<MonitoringObject^>^ GetMonitoringObjects(
MonitoringObjectGenericCriteria^ criteria,
MonitoringClass^ monitoringClass
)
[<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>]
member GetMonitoringObjects :
criteria:MonitoringObjectGenericCriteria *
monitoringClass:MonitoringClass -> ReadOnlyCollection<MonitoringObject>
<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>
Public Function GetMonitoringObjects (
criteria As MonitoringObjectGenericCriteria,
monitoringClass As MonitoringClass
) As ReadOnlyCollection(Of MonitoringObject)
Parameters
criteria
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteriaA value that specifies the kind of monitoring objects.
monitoringClass
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClassThe monitoring base class, with all its derived classes, that defines the range of the returned results.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringObject>
Returns aReadOnlyCollection<T> object ofMonitoringObjectobjects.
See Also
GetMonitoringObjects Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top