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)

Usage

Visual Basic
Dim instance As MonitoringClass
Dim derivedClassTraversalDepth As DerivedClassTraversalDepth
Dim returnValue As ReadOnlyCollection(Of MonitoringRelationshipClass)

returnValue = instance.GetMonitoringRelationshipClassesWhereSource(derivedClassTraversalDepth)

Syntax

Visual Basic
Public Function GetMonitoringRelationshipClassesWhereSource ( _
		derivedClassTraversalDepth As DerivedClassTraversalDepth _
) As ReadOnlyCollection(Of MonitoringRelationshipClass)
C#
public ReadOnlyCollection<MonitoringRelationshipClass> GetMonitoringRelationshipClassesWhereSource (
		DerivedClassTraversalDepth derivedClassTraversalDepth
)
C++
public:
ReadOnlyCollection<MonitoringRelationshipClass^>^ GetMonitoringRelationshipClassesWhereSource (
		DerivedClassTraversalDepth derivedClassTraversalDepth
)
J#
public ReadOnlyCollection<MonitoringRelationshipClass> GetMonitoringRelationshipClassesWhereSource (
		DerivedClassTraversalDepth derivedClassTraversalDepth
)
JScript
public function GetMonitoringRelationshipClassesWhereSource (
		derivedClassTraversalDepth : DerivedClassTraversalDepth
) : ReadOnlyCollection<MonitoringRelationshipClass>

Parameters

derivedClassTraversalDepth

Determines 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

A read-only collection of MonitoringRelationshipClass objects.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also