MonitoringClass.GetMonitoringRelationshipClassesWhereSource 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 source in the relationship, optionally including derived classes.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use GetRelationshipsWhereSource() instead")]
public ReadOnlyCollection<MonitoringRelationshipClass> GetMonitoringRelationshipClassesWhereSource(
DerivedClassTraversalDepth derivedClassTraversalDepth
)
public:
[ObsoleteAttribute("Please use GetRelationshipsWhereSource() instead")]
ReadOnlyCollection<MonitoringRelationshipClass^>^ GetMonitoringRelationshipClassesWhereSource(
DerivedClassTraversalDepth derivedClassTraversalDepth
)
[<ObsoleteAttribute("Please use GetRelationshipsWhereSource() instead")>]
member GetMonitoringRelationshipClassesWhereSource :
derivedClassTraversalDepth:DerivedClassTraversalDepth -> ReadOnlyCollection<MonitoringRelationshipClass>
<ObsoleteAttribute("Please use GetRelationshipsWhereSource() instead")>
Public Function GetMonitoringRelationshipClassesWhereSource (
derivedClassTraversalDepth As DerivedClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRelationshipClass)
Parameters
derivedClassTraversalDepth
Type: Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepthDetermines whether to also return relationship classes of which the classes derived from this monitoring class are a source 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
GetMonitoringRelationshipClassesWhereSource Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top