Compartilhar via


ManagementGroup.GetMonitoringRelationshipObjects Method (MonitoringClass, MonitoringClass)

 

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)

Syntax

[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjects(
    MonitoringClass sourceMonitoringClass,
    MonitoringClass targetMonitoringClass
)
public:
[ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjects(
    MonitoringClass^ sourceMonitoringClass,
    MonitoringClass^ targetMonitoringClass
)
[<ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjects()")>]
member GetMonitoringRelationshipObjects : 
        sourceMonitoringClass:MonitoringClass *
        targetMonitoringClass:MonitoringClass -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Please use EntityObjects.GetMonitoringRelationshipObjects()")>
Public Function GetMonitoringRelationshipObjects (
    sourceMonitoringClass As MonitoringClass,
    targetMonitoringClass As MonitoringClass
) As ReadOnlyCollection(Of MonitoringRelationshipObject)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObject>

Returns aReadOnlyCollection<T> object ofMonitoringRelationshipObject objects.

See Also

GetMonitoringRelationshipObjects Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top