Share via


ManagementGroup.GetMonitoringObjects Method (MonitoringObjectCriteria)

 

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(
    MonitoringObjectCriteria criteria
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")]
ReadOnlyCollection<MonitoringObject^>^ GetMonitoringObjects(
    MonitoringObjectCriteria^ criteria
)
[<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>]
member GetMonitoringObjects : 
        criteria:MonitoringObjectCriteria -> ReadOnlyCollection<MonitoringObject>
<ObsoleteAttribute("Please use EntityObjects.GetObjects<MonitoringObject>()")>
Public Function GetMonitoringObjects (
    criteria As MonitoringObjectCriteria
) As ReadOnlyCollection(Of MonitoringObject)

Parameters

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