次の方法で共有


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

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