PartialMonitoringObject.GetMonitoringStates Method (ICollection)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets the monitoring state of the specified monitor objects.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As PartialMonitoringObject
Dim monitors As ICollection(Of ManagementPackMonitor)
Dim returnValue As ReadOnlyCollection(Of MonitoringState)
returnValue = instance.GetMonitoringStates(monitors)
Syntax
'Declaration
<ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")> _
Public Function GetMonitoringStates ( _
monitors As ICollection(Of ManagementPackMonitor) _
) As ReadOnlyCollection(Of MonitoringState)
[ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")]
public ReadOnlyCollection<MonitoringState> GetMonitoringStates (
ICollection<ManagementPackMonitor> monitors
)
[ObsoleteAttribute(L"This version will be removed in favor of the version that return IList and takes IEnumerable")]
public:
ReadOnlyCollection<MonitoringState^>^ GetMonitoringStates (
ICollection<ManagementPackMonitor^>^ monitors
)
/** @attribute ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable") */
public ReadOnlyCollection<MonitoringState> GetMonitoringStates (
ICollection<ManagementPackMonitor> monitors
)
ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")
public function GetMonitoringStates (
monitors : ICollection<ManagementPackMonitor>
) : ReadOnlyCollection<MonitoringState>
Parameters
- monitors
The monitors for which to get the state.
Return Value
Returns ReadOnlyCollection of MonitoringState values.
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
PartialMonitoringObject Class
PartialMonitoringObject Members
Microsoft.EnterpriseManagement.Monitoring Namespace