IMonitoringInstancesManagement.GetStateForObjects Method

Updated: April 16, 2012

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)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)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 : PartialMonitoringObjectgeneric<typename T> where T : PartialMonitoringObject Dictionary<T, IList<MonitoringState^>^>^ GetStateForObjects ( IEnumerable<T>^ instances, IEnumerable<ManagementPackMonitor^>^ monitors )GenericParametersTParametersinstancesmonitorsReturn ValueReturns Dictionary.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms