IOperationalDataManagement.GetPartialMonitoringAlertReader Method (ManagementPackClass, TraversalDepth, Nullable<DateTime>, MonitoringAlertProperty[])
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a PartialMonitoringAlertReader object for accessing the MonitoringAlert objects in the ManagementGroup object. The returned MonitoringAlert objects are scoped to a specific ManagementPackClass object, the TraversalDepth object, the last changed DateTime object, and the MonitoringAlertProperty properties.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("User PartialMonitoringAlertReader GetPartialMonitoringAlertReader(MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")]
PartialMonitoringAlertReader GetPartialMonitoringAlertReader(
ManagementPackClass managementPackClass,
TraversalDepth traversalDepth,
Nullable<DateTime> lastModified,
params MonitoringAlertProperty[] properties
)
[ObsoleteAttribute("User PartialMonitoringAlertReader GetPartialMonitoringAlertReader(MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")]
PartialMonitoringAlertReader^ GetPartialMonitoringAlertReader(
ManagementPackClass^ managementPackClass,
TraversalDepth traversalDepth,
Nullable<DateTime> lastModified,
... array<MonitoringAlertProperty^>^ properties
)
[<ObsoleteAttribute("User PartialMonitoringAlertReader GetPartialMonitoringAlertReader(MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")>]
abstract GetPartialMonitoringAlertReader :
managementPackClass:ManagementPackClass *
traversalDepth:TraversalDepth *
lastModified:Nullable<DateTime> *
[<ParamArrayAttribute>] properties:MonitoringAlertProperty[] -> PartialMonitoringAlertReader
<ObsoleteAttribute("User PartialMonitoringAlertReader GetPartialMonitoringAlertReader(MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")>
Function GetPartialMonitoringAlertReader (
managementPackClass As ManagementPackClass,
traversalDepth As TraversalDepth,
lastModified As Nullable(Of Date),
ParamArray properties As MonitoringAlertProperty()
) As PartialMonitoringAlertReader
Parameters
managementPackClass
Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackClassThe ManagementPackClass object, and all its derived classes, by which to scope the method.
traversalDepth
Type: Microsoft.EnterpriseManagement.Common.TraversalDepthThe TraversalDepth object the defines the traversal depth of the class instances to be retrieved. The OneLevel object scopes the method to just the instance of the given class. The Recursive object scopes the method to the instance of the given class and to all entities contained by instances of that class.
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