Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of monitoring objects that match the specified filter.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
public ReadOnlyCollection<MonitoringObject> GetMonitoringObjects(
    ICollection<MonitoringObjectCriteria> criteriaCollection
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
ReadOnlyCollection<MonitoringObject^>^ GetMonitoringObjects(
    ICollection<MonitoringObjectCriteria^>^ criteriaCollection
)
[<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>]
member GetMonitoringObjects : 
        criteriaCollection:ICollection<MonitoringObjectCriteria> -> ReadOnlyCollection<MonitoringObject>
<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>
Public Function GetMonitoringObjects (
    criteriaCollection As ICollection(Of MonitoringObjectCriteria)
) As ReadOnlyCollection(Of MonitoringObject)
Parameters
- criteriaCollection 
 Type: System.Collections.Generic.ICollection<MonitoringObjectCriteria>- A value that specifies the kind of monitoring objects. 
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringObject>
Returns aReadOnlyCollection<T> object ofMonitoringObject objects.
See Also
GetMonitoringObjects Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top