PartialMonitoringObject.GetMonitoringRelationshipObjectsWhereSource Method (MonitoringRelationshipClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Gets the relationships for which this partial monitoring object is a source in the relationship, filtered by the relationshipClass object.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsWhereSource(
MonitoringRelationshipClass relationshipClass
)
public:
[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereSource(
MonitoringRelationshipClass^ relationshipClass
)
[<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")>]
member GetMonitoringRelationshipObjectsWhereSource :
relationshipClass:MonitoringRelationshipClass -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")>
Public Function GetMonitoringRelationshipObjectsWhereSource (
relationshipClass As MonitoringRelationshipClass
) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
relationshipClass
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClassThe relationship type to get.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObject>
Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.
Remarks
The returned collection contains the monitoring relationship objects that have as a source the PartialMonitoringObject object, and the class is the same as the relationshipClass object.
See Also
GetMonitoringRelationshipObjectsWhereSource Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top