Condividi tramite


ManagementGroup.GetMonitoringObjects Method (MonitoringClass)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring objects that match the specified scope.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

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