ManagementGroup.GetMonitoringRelationshipObjectsBySourceMonitoringClass Method (MonitoringRelationshipObjectGenericCriteria, MonitoringClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of monitoring relationship objects that match the specified filter from the specified source class.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsBySourceMonitoringClass(
MonitoringRelationshipObjectGenericCriteria criteria,
MonitoringClass sourceMonitoringClass
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsBySourceMonitoringClass(
MonitoringRelationshipObjectGenericCriteria^ criteria,
MonitoringClass^ sourceMonitoringClass
)
[<ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()")>]
member GetMonitoringRelationshipObjectsBySourceMonitoringClass :
criteria:MonitoringRelationshipObjectGenericCriteria *
sourceMonitoringClass:MonitoringClass -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()")>
Public Function GetMonitoringRelationshipObjectsBySourceMonitoringClass (
criteria As MonitoringRelationshipObjectGenericCriteria,
sourceMonitoringClass As MonitoringClass
) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
criteria
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteriaA value that specifies the kind of monitoring relationship objects.
sourceMonitoringClass
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClassThe monitoring class, with all its derived classes, that defines the range of the returned results. The results contain monitoring relationship objects that have this class as the source class.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObject>
Returns aReadOnlyCollection<T> object ofMonitoringRelationshipObject objects.
See Also
GetMonitoringRelationshipObjectsBySourceMonitoringClass Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top