Share via


IMonitoringInstancesManagement.GetRelatedObjects Method (ICollection, MonitoringObjectCriteria, TraversalDepth, ObjectQueryOptions)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

Usage

'Usage
Dim instance As IMonitoringInstancesManagement
Dim instanceIds As ICollection(Of Guid)
Dim criteria As MonitoringObjectCriteria
Dim traversalDepth As TraversalDepth
Dim queryOptions As ObjectQueryOptions
Dim returnValue As Dictionary(Of Guid, IList(Of MonitoringObject))

returnValue = instance.GetRelatedObjects(instanceIds, criteria, traversalDepth, queryOptions)

Syntax

'Declaration
Function GetRelatedObjects ( _
    instanceIds As ICollection(Of Guid), _
    criteria As MonitoringObjectCriteria, _
    traversalDepth As TraversalDepth, _
    queryOptions As ObjectQueryOptions _
) As Dictionary(Of Guid, IList(Of MonitoringObject))
Dictionary<Guid,IList<MonitoringObject>> GetRelatedObjects (
    ICollection<Guid> instanceIds,
    MonitoringObjectCriteria criteria,
    TraversalDepth traversalDepth,
    ObjectQueryOptions queryOptions
)
Dictionary<Guid, IList<MonitoringObject^>^>^ GetRelatedObjects (
    ICollection<Guid>^ instanceIds, 
    MonitoringObjectCriteria^ criteria, 
    TraversalDepth traversalDepth, 
    ObjectQueryOptions^ queryOptions
)
Dictionary<Guid,IList<MonitoringObject>> GetRelatedObjects (
    ICollection<Guid> instanceIds, 
    MonitoringObjectCriteria criteria, 
    TraversalDepth traversalDepth, 
    ObjectQueryOptions queryOptions
)
function GetRelatedObjects (
    instanceIds : ICollection<Guid>, 
    criteria : MonitoringObjectCriteria, 
    traversalDepth : TraversalDepth, 
    queryOptions : ObjectQueryOptions
) : Dictionary<Guid,IList<MonitoringObject>>

Parameters

  • instanceIds
  • criteria
  • traversalDepth
  • queryOptions

Return Value

Returns Dictionary.

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

See Also

Reference

IMonitoringInstancesManagement Interface
IMonitoringInstancesManagement Members
Microsoft.EnterpriseManagement.Monitoring Namespace