MonitoringClass.GetMonitoringRelationshipClassesWhereTarget Method (DerivedClassTraversalDepth)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves the relationship class objects of which this monitoring class is a target in the relationship, optionally including derived classes.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use GetRelationshipsWhereTarget() instead")]
public ReadOnlyCollection<MonitoringRelationshipClass> GetMonitoringRelationshipClassesWhereTarget(
DerivedClassTraversalDepth derivedClassTraversalDepth
)
public:
[ObsoleteAttribute("Please use GetRelationshipsWhereTarget() instead")]
ReadOnlyCollection<MonitoringRelationshipClass^>^ GetMonitoringRelationshipClassesWhereTarget(
DerivedClassTraversalDepth derivedClassTraversalDepth
)
[<ObsoleteAttribute("Please use GetRelationshipsWhereTarget() instead")>]
member GetMonitoringRelationshipClassesWhereTarget :
derivedClassTraversalDepth:DerivedClassTraversalDepth -> ReadOnlyCollection<MonitoringRelationshipClass>
<ObsoleteAttribute("Please use GetRelationshipsWhereTarget() instead")>
Public Function GetMonitoringRelationshipClassesWhereTarget (
derivedClassTraversalDepth As DerivedClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRelationshipClass)
Parameters
derivedClassTraversalDepth
Type: Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepthDetermines whether to also return relationship classes of which the derived classes of this monitoring class are a target in the relationship. A value of None does not include derived classes. A value of Recursive includes derived classes.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipClass>
Returns a ReadOnlyCollection<T> of MonitoringRelationshipClass objects.
See Also
GetMonitoringRelationshipClassesWhereTarget Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top