ManagementGroup.GetMonitoringRelationshipObjectsByTargetMonitoringClass Method (MonitoringClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of monitoring relationship objects for the specified target class.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsByTargetMonitoringClass(
MonitoringClass targetMonitoringClass
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsByTargetMonitoringClass(
MonitoringClass^ targetMonitoringClass
)
[<ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()")>]
member GetMonitoringRelationshipObjectsByTargetMonitoringClass :
targetMonitoringClass:MonitoringClass -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()")>
Public Function GetMonitoringRelationshipObjectsByTargetMonitoringClass (
targetMonitoringClass As MonitoringClass
) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
targetMonitoringClass
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 target class.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObject>
Returns aReadOnlyCollection<T> object ofMonitoringRelationshipObject objects.
See Also
GetMonitoringRelationshipObjectsByTargetMonitoringClass Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top