Share via


ManagementPackClass.GetRelationshipsWhereTarget Method (DerivedClassTraversalDepth)

Retrieves all the relationship classes of which this monitoring class is a part as the target.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As ManagementPackClass
Dim derivedClassTraversalDepth As DerivedClassTraversalDepth
Dim returnValue As IList(Of ManagementPackRelationship)

returnValue = instance.GetRelationshipsWhereTarget(derivedClassTraversalDepth)

Syntax

'Declaration
Public Function GetRelationshipsWhereTarget ( _
    derivedClassTraversalDepth As DerivedClassTraversalDepth _
) As IList(Of ManagementPackRelationship)
public IList<ManagementPackRelationship> GetRelationshipsWhereTarget (
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
public:
IList<ManagementPackRelationship^>^ GetRelationshipsWhereTarget (
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
public IList<ManagementPackRelationship> GetRelationshipsWhereTarget (
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
public function GetRelationshipsWhereTarget (
    derivedClassTraversalDepth : DerivedClassTraversalDepth
) : IList<ManagementPackRelationship>

Parameters

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

Return Value

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackClass Class
ManagementPackClass Members
Microsoft.EnterpriseManagement.Configuration Namespace