IMonitoringInstancesManagement.GetRelatedObjects Method (Guid, MonitoringObjectGenericCriteria, 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 criteria As MonitoringObjectGenericCriteria
Dim traversalDepth As TraversalDepth
Dim queryOptions As ObjectQueryOptions
Dim returnValue As IList(Of T)
returnValue = instance.GetRelatedObjects(instanceId, criteria, traversalDepth, queryOptions)
Syntax
'Declaration
Function GetRelatedObjects(Of T As PartialMonitoringObject) ( _
instanceId As Guid, _
criteria As MonitoringObjectGenericCriteria, _
traversalDepth As TraversalDepth, _
queryOptions As ObjectQueryOptions _
) As IList(Of T)
IList<T> GetRelatedObjects<T> (
Guid instanceId,
MonitoringObjectGenericCriteria criteria,
TraversalDepth traversalDepth,
ObjectQueryOptions queryOptions
) where T : PartialMonitoringObject
generic<typename T> where T : PartialMonitoringObject
IList<T>^ GetRelatedObjects (
Guid instanceId,
MonitoringObjectGenericCriteria^ criteria,
TraversalDepth traversalDepth,
ObjectQueryOptions^ queryOptions
)
GenericParameters
- T
Parameters
- instanceId
- criteria
- 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