PartialMonitoringObjectBase.GetRelatedPartialMonitoringObjects Method (MonitoringRelationshipClass)
Applies To: Operations Manager for System Center 2012
Gets all the partial 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<PartialMonitoringObject> GetRelatedPartialMonitoringObjects(
MonitoringRelationshipClass relationshipClass
)
public:
ReadOnlyCollection<PartialMonitoringObject^>^ GetRelatedPartialMonitoringObjects(
MonitoringRelationshipClass^ relationshipClass
)
member GetRelatedPartialMonitoringObjects :
relationshipClass:MonitoringRelationshipClass -> ReadOnlyCollection<PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (
relationshipClass As MonitoringRelationshipClass
) As ReadOnlyCollection(Of PartialMonitoringObject)
Parameters
relationshipClass
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClassA relationship type that filters the returned partial monitoring objects. Only partial monitoring objects that are related to the current object with the specified relationship are returned.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<PartialMonitoringObject>
Returns a ReadOnlyCollection<T> of PartialMonitoringObject objects.
See Also
GetRelatedPartialMonitoringObjects Overload
PartialMonitoringObjectBase Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top