Share via


IMonitoringInstancesManagement.GetRelatedObjects Method (ICollection, ICollection, 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 criteriaCollection As ICollection(Of MonitoringObjectCriteria)
Dim traversalDepth As TraversalDepth
Dim queryOptions As ObjectQueryOptions
Dim returnValue As Dictionary(Of Guid, IList(Of MonitoringObject))

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

Syntax

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

Parameters

  • instanceIds
  • criteriaCollection
  • 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