IOperationalDataManagement.GetPartialMonitoringAlertReader Method (ManagementPackClass, TraversalDepth, Nullable, MonitoringAlertProperty[])

Updated: April 16, 2012

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)Dim instance As IOperationalDataManagement Dim managementPackClass As ManagementPackClass Dim traversalDepth As TraversalDepth Dim lastModified As Nullable(Of DateTime) Dim properties As MonitoringAlertProperty() Dim returnValue As PartialMonitoringAlertReader returnValue = instance.GetPartialMonitoringAlertReader(managementPackClass, traversalDepth, lastModified, properties)<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 DateTime), _ ParamArray properties As MonitoringAlertProperty() _ ) As PartialMonitoringAlertReader[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(L"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 )/** @attribute ObsoleteAttribute("User PartialMonitoringAlertReader GetPartialMonitoringAlertReader(MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);") */ PartialMonitoringAlertReader GetPartialMonitoringAlertReader ( ManagementPackClass managementPackClass, TraversalDepth traversalDepth, Nullable<DateTime> lastModified, MonitoringAlertProperty[] properties )ObsoleteAttribute("User PartialMonitoringAlertReader GetPartialMonitoringAlertReader(MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);") function GetPartialMonitoringAlertReader ( managementPackClass : ManagementPackClass, traversalDepth : TraversalDepth, lastModified : Nullable<DateTime>, ... properties : MonitoringAlertProperty[] ) : PartialMonitoringAlertReaderParametersmanagementPackClassThe ManagementPackClass object, and all its derived classes, by which to scope the method.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.lastModifiedThe alert’s last changed DateTime object to which this method is scoped.propertiesThe MonitoringAlertProperty properties by which this method is to be scoped.Return ValueReturns a PartialMonitoringAlertReader object.
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