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