[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Retrieves all the relationship classes of which this monitoring class is a part. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackClass
Dim derivedClassTraversalDepth As DerivedClassTraversalDepth
Dim returnValue As IList(Of ManagementPackRelationship)

returnValue = instance.GetRelationships(derivedClassTraversalDepth)

Syntax

Visual Basic
Public Function GetRelationships ( _
		derivedClassTraversalDepth As DerivedClassTraversalDepth _
) As IList(Of ManagementPackRelationship)
C#
public IList<ManagementPackRelationship> GetRelationships (
		DerivedClassTraversalDepth derivedClassTraversalDepth
)
C++
public:
IList<ManagementPackRelationship^>^ GetRelationships (
		DerivedClassTraversalDepth derivedClassTraversalDepth
)
J#
public IList<ManagementPackRelationship> GetRelationships (
		DerivedClassTraversalDepth derivedClassTraversalDepth
)
JScript
public function GetRelationships (
		derivedClassTraversalDepth : DerivedClassTraversalDepth
) : IList<ManagementPackRelationship>

Parameters

derivedClassTraversalDepth

Indicates whether or not to include this class’s derived classes as targets for the relationship type.

Return Value

Returns IList. All the relationship classes.

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

See Also