Share via


PartialMonitoringObjectBase.GetRelatedMonitoringObjects Method (MonitoringRelationshipClass)

 

Applies To: Operations Manager for System Center 2012

Gets all the monitoring objects that are related to this monitoring object with the specified relationship type.

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

Syntax

public ReadOnlyCollection<MonitoringObject> GetRelatedMonitoringObjects(
    MonitoringRelationshipClass relationshipClass
)
public:
ReadOnlyCollection<MonitoringObject^>^ GetRelatedMonitoringObjects(
    MonitoringRelationshipClass^ relationshipClass
)
member GetRelatedMonitoringObjects : 
        relationshipClass:MonitoringRelationshipClass -> ReadOnlyCollection<MonitoringObject>
Public Function GetRelatedMonitoringObjects (
    relationshipClass As MonitoringRelationshipClass
) As ReadOnlyCollection(Of MonitoringObject)

Parameters

Return Value

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

Returns a ReadOnlyCollection<T> of MonitoringObjectobjects.

See Also

GetRelatedMonitoringObjects Overload
PartialMonitoringObjectBase Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top