次の方法で共有


ManagementGroup.GetRelatedPartialMonitoringObjects<T> Method (ICollection<T>, MonitoringRelationshipClass)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of the partial monitoring object instances that are related to the specified monitoring objects.

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

Syntax

[ObsoleteAttribute("Please use EntityObjects.GetRelatedPartialMonitoringObjects<T>()")]
public Dictionary<T, ReadOnlyCollection<PartialMonitoringObject>> GetRelatedPartialMonitoringObjects<T>(
    ICollection<T> monitoringObjects,
    MonitoringRelationshipClass relationshipClass
)
where T : PartialMonitoringObjectBase
public:
generic<typename T>
where T : PartialMonitoringObjectBase
[ObsoleteAttribute("Please use EntityObjects.GetRelatedPartialMonitoringObjects<T>()")]
Dictionary<T, ReadOnlyCollection<PartialMonitoringObject^>^>^ GetRelatedPartialMonitoringObjects(
    ICollection<T>^ monitoringObjects,
    MonitoringRelationshipClass^ relationshipClass
)
[<ObsoleteAttribute("Please use EntityObjects.GetRelatedPartialMonitoringObjects<T>()")>]
member GetRelatedPartialMonitoringObjects<'T when 'T : PartialMonitoringObjectBase> : 
        monitoringObjects:ICollection<'T> *
        relationshipClass:MonitoringRelationshipClass -> Dictionary<'T, ReadOnlyCollection<PartialMonitoringObject>>
<ObsoleteAttribute("Please use EntityObjects.GetRelatedPartialMonitoringObjects<T>()")>
Public Function GetRelatedPartialMonitoringObjects(Of T As PartialMonitoringObjectBase) (
    monitoringObjects As ICollection(Of T),
    relationshipClass As MonitoringRelationshipClass
) As Dictionary(Of T, ReadOnlyCollection(Of PartialMonitoringObject))

Parameters

Return Value

Type: System.Collections.Generic.Dictionary<T, ReadOnlyCollection<PartialMonitoringObject>>

Returns aDictionary<TKey, TValue> object ofPartialMonitoringObject objects.

Type Parameters

See Also

GetRelatedPartialMonitoringObjects Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top