Compartilhar via


MonitoringClass.GetMonitoringRelationshipClasses Method (DerivedClassTraversalDepth)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the relationship classes of which this monitoring class is a part, optionally including derived classes.

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

Syntax

[ObsoleteAttribute("Please use GetRelationships() instead")]
public ReadOnlyCollection<MonitoringRelationshipClass> GetMonitoringRelationshipClasses(
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
public:
[ObsoleteAttribute("Please use GetRelationships() instead")]
ReadOnlyCollection<MonitoringRelationshipClass^>^ GetMonitoringRelationshipClasses(
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
[<ObsoleteAttribute("Please use GetRelationships() instead")>]
member GetMonitoringRelationshipClasses : 
        derivedClassTraversalDepth:DerivedClassTraversalDepth -> ReadOnlyCollection<MonitoringRelationshipClass>
<ObsoleteAttribute("Please use GetRelationships() instead")>
Public Function GetMonitoringRelationshipClasses (
    derivedClassTraversalDepth As DerivedClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRelationshipClass)

Parameters

Return Value

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

Returns a ReadOnlyCollection<T> of MonitoringRelationshipClass objects.

See Also

GetMonitoringRelationshipClasses Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top