IOperationalDataManagement.GetPartialMonitoringAlertReader Method (MonitoringAlertCriteria, Nullable<DateTime>, MonitoringAlertProperty[])
Applies To: Operations Manager for System Center 2012
Retrieves a PartialMonitoringAlertReader object for accessing the MonitoringAlert objects in the ManagementGroup. The returned MonitoringAlert objects are scoped to the MonitoringAlertCriteria object, the last changed DateTime object, and the MonitoringAlertPropertyproperties.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
PartialMonitoringAlertReader GetPartialMonitoringAlertReader(
MonitoringAlertCriteria criteria,
Nullable<DateTime> lastModified,
params MonitoringAlertProperty[] properties
)
PartialMonitoringAlertReader^ GetPartialMonitoringAlertReader(
MonitoringAlertCriteria^ criteria,
Nullable<DateTime> lastModified,
... array<MonitoringAlertProperty^>^ properties
)
abstract GetPartialMonitoringAlertReader :
criteria:MonitoringAlertCriteria *
lastModified:Nullable<DateTime> *
[<ParamArrayAttribute>] properties:MonitoringAlertProperty[] -> PartialMonitoringAlertReader
Function GetPartialMonitoringAlertReader (
criteria As MonitoringAlertCriteria,
lastModified As Nullable(Of Date),
ParamArray properties As MonitoringAlertProperty()
) As PartialMonitoringAlertReader
Parameters
criteria
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteriaAn optional MonitoringAlertCriteria object by which to scope the method. Otherwise, pass null.
lastModified
Type: System.Nullable<DateTime>The alert’s last changed DateTime object to which this method is scoped.
properties
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertProperty[]The MonitoringAlertProperty properties by which this method is to be scoped.
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringAlertReader
Returns a PartialMonitoringAlertReader object.
See Also
GetPartialMonitoringAlertReader Overload
IOperationalDataManagement Interface
Microsoft.EnterpriseManagement Namespace
Return to top