IMonitoringInstancesManagement.GetRelatedObjects Method (Guid, 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 instanceId As Guid
Dim criteriaCollection As ICollection(Of MonitoringObjectCriteria)
Dim traversalDepth As TraversalDepth
Dim queryOptions As ObjectQueryOptions
Dim returnValue As IList(Of MonitoringObject)
returnValue = instance.GetRelatedObjects(instanceId, criteriaCollection, traversalDepth, queryOptions)
Syntax
'Declaration
Function GetRelatedObjects ( _
instanceId As Guid, _
criteriaCollection As ICollection(Of MonitoringObjectCriteria), _
traversalDepth As TraversalDepth, _
queryOptions As ObjectQueryOptions _
) As IList(Of MonitoringObject)
IList<MonitoringObject> GetRelatedObjects (
Guid instanceId,
ICollection<MonitoringObjectCriteria> criteriaCollection,
TraversalDepth traversalDepth,
ObjectQueryOptions queryOptions
)
IList<MonitoringObject^>^ GetRelatedObjects (
Guid instanceId,
ICollection<MonitoringObjectCriteria^>^ criteriaCollection,
TraversalDepth traversalDepth,
ObjectQueryOptions^ queryOptions
)
IList<MonitoringObject> GetRelatedObjects (
Guid instanceId,
ICollection<MonitoringObjectCriteria> criteriaCollection,
TraversalDepth traversalDepth,
ObjectQueryOptions queryOptions
)
function GetRelatedObjects (
instanceId : Guid,
criteriaCollection : ICollection<MonitoringObjectCriteria>,
traversalDepth : TraversalDepth,
queryOptions : ObjectQueryOptions
) : IList<MonitoringObject>
Parameters
- instanceId
- criteriaCollection
- traversalDepth
- queryOptions
Return Value
Returns IList.
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