PartialMonitoringObject.GetMonitoringRelationshipObjectsWhereSource Method (MonitoringRelationshipObjectGenericCriteria)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Gets the relationships for which this partial monitoring object is the source, by applying the specified filter.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsWhereSource(
MonitoringRelationshipObjectGenericCriteria criteria
)
public:
[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereSource(
MonitoringRelationshipObjectGenericCriteria^ criteria
)
[<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")>]
member GetMonitoringRelationshipObjectsWhereSource :
criteria:MonitoringRelationshipObjectGenericCriteria -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")>
Public Function GetMonitoringRelationshipObjectsWhereSource (
criteria As MonitoringRelationshipObjectGenericCriteria
) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
criteria
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteriaA value that specifies the kind of monitoring relationship objects.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObject>
Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.
Remarks
Gets the relationships for which this partial monitoring object is a source in the relationships that meet the criteria filter.
You can iterate through the collection to obtain any specific MonitoringRelationshipObjectobject.
The criteriaparameter is used to identify monitoring relationships that will pass through the filter. Monitoring relationships within the returned collection meet this filter requirement.
See Also
GetMonitoringRelationshipObjectsWhereSource Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top