Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a monitoring alert reader for the specified class that matches the specified modification time.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertReader()")]
public MonitoringAlertReader GetMonitoringAlertReader(
    MonitoringClass monitoringClass,
    DateTime lastModified
)
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertReader()")]
MonitoringAlertReader^ GetMonitoringAlertReader(
    MonitoringClass^ monitoringClass,
    DateTime lastModified
)
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertReader()")>]
member GetMonitoringAlertReader : 
        monitoringClass:MonitoringClass *
        lastModified:DateTime -> MonitoringAlertReader
<ObsoleteAttribute("Please use OperationalData.GetMonitoringAlertReader()")>
Public Function GetMonitoringAlertReader (
    monitoringClass As MonitoringClass,
    lastModified As Date
) As MonitoringAlertReader
Parameters
- monitoringClass 
 Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClass- The monitoring base class, with all its derived classes, that defines the range of the returned results. 
- lastModified 
 Type: System.DateTime- The most recent date and time since the scope alerts changed. 
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Returns a read-only collection of fully populatedMonitoringAlertReader objects.
See Also
GetMonitoringAlertReader Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top