次の方法で共有


PartialMonitoringObject.GetMonitoringRelationshipObjectsWhereTarget Method (MonitoringRelationshipClass, DerivedClassTraversalDepth)

 

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 target in the relationship, filtered by the relationshipClass object and optionally from all derived classes.

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

Syntax

[ObsoleteAttribute("Use ManagementGroup.EntityObjects.GetMonitoringRelationshipObjectsWhereTarget")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsWhereTarget(
    MonitoringRelationshipClass relationshipClass,
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGroup.EntityObjects.GetMonitoringRelationshipObjectsWhereTarget")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereTarget(
    MonitoringRelationshipClass^ relationshipClass,
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGroup.EntityObjects.GetMonitoringRelationshipObjectsWhereTarget")>]
member GetMonitoringRelationshipObjectsWhereTarget : 
        relationshipClass:MonitoringRelationshipClass *
        derivedClassTraversalDepth:DerivedClassTraversalDepth -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Use ManagementGroup.EntityObjects.GetMonitoringRelationshipObjectsWhereTarget")>
Public Function GetMonitoringRelationshipObjectsWhereTarget (
    relationshipClass As MonitoringRelationshipClass,
    derivedClassTraversalDepth As DerivedClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRelationshipObject)

Parameters

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.

See Also

GetMonitoringRelationshipObjectsWhereTarget Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top