Share via


IMonitoringInstancesManagement.GetStateForObjects Method

[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 instances As IEnumerable(Of T)
Dim monitors As IEnumerable(Of ManagementPackMonitor)
Dim returnValue As Dictionary(Of T, IList(Of MonitoringState))

returnValue = instance.GetStateForObjects(instances, monitors)

Syntax

'Declaration
Function GetStateForObjects(Of T As PartialMonitoringObject) ( _
    instances As IEnumerable(Of T), _
    monitors As IEnumerable(Of ManagementPackMonitor) _
) As Dictionary(Of T, IList(Of MonitoringState))
Dictionary<T,IList<MonitoringState>> GetStateForObjects<T> (
    IEnumerable<T> instances,
    IEnumerable<ManagementPackMonitor> monitors
) where T : PartialMonitoringObject
generic<typename T> where T : PartialMonitoringObject
Dictionary<T, IList<MonitoringState^>^>^ GetStateForObjects (
    IEnumerable<T>^ instances, 
    IEnumerable<ManagementPackMonitor^>^ monitors
)

GenericParameters

  • T

Parameters

  • instances
  • monitors

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