Partager via


ManagementPackClass.GetRelationshipsWhereSource Method (DerivedClassTraversalDepth)

[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 as the source.

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.GetRelationshipsWhereSource(derivedClassTraversalDepth)

Syntax

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

Parameters

  • derivedClassTraversalDepth
    Indicates whether to include the derived classes of this class 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