ManagementGroup::GetMonitoringRelationshipObjects Method (MonitoringClass^, MonitoringClass^)

System Center
 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of monitoring relationship objects from the specified source class for the specified target class.

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

public:
[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjects(
	MonitoringClass^ sourceMonitoringClass,
	MonitoringClass^ targetMonitoringClass
)

Parameters

sourceMonitoringClass
Type: Microsoft.EnterpriseManagement.Configuration::MonitoringClass^

The monitoring base 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.

targetMonitoringClass
Type: Microsoft.EnterpriseManagement.Configuration::MonitoringClass^

The monitoring base 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 to top
Show: