IOperationalDataManagement.GetPartialMonitoringEventReader Method (MonitoringEventCriteria, ManagementPackClass, TraversalDepth, MonitoringEventProperty[])

Updated: April 16, 2012

Retrieves a PartialMonitoringEventReader object for accessing MonitoringEvent objects in the ManagementGroup object. The returned MonitoringEvent objects are scoped to a MonitoringEventCriteria object, the ManagementPackClass object, the TraversalDepth object, and the MonitoringEventProperty properties. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IOperationalDataManagement Dim criteria As MonitoringEventCriteria Dim managementPackClass As ManagementPackClass Dim traversalDepth As TraversalDepth Dim properties As MonitoringEventProperty() Dim returnValue As PartialMonitoringEventReader returnValue = instance.GetPartialMonitoringEventReader(criteria, managementPackClass, traversalDepth, properties)Function GetPartialMonitoringEventReader ( _ criteria As MonitoringEventCriteria, _ managementPackClass As ManagementPackClass, _ traversalDepth As TraversalDepth, _ ParamArray properties As MonitoringEventProperty() _ ) As PartialMonitoringEventReaderPartialMonitoringEventReader GetPartialMonitoringEventReader ( MonitoringEventCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties )PartialMonitoringEventReader^ GetPartialMonitoringEventReader ( MonitoringEventCriteria^ criteria, ManagementPackClass^ managementPackClass, TraversalDepth traversalDepth, ... array<MonitoringEventProperty^>^ properties )PartialMonitoringEventReader GetPartialMonitoringEventReader ( MonitoringEventCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, MonitoringEventProperty[] properties )function GetPartialMonitoringEventReader ( criteria : MonitoringEventCriteria, managementPackClass : ManagementPackClass, traversalDepth : TraversalDepth, ... properties : MonitoringEventProperty[] ) : PartialMonitoringEventReaderParameterscriteriaAn optional MonitoringEventCriteria object by which to scope the method. Otherwise, pass null.managementPackClassThe 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.propertiesThe MonitoringEventProperty properties by which this method is to be scoped.Return ValueReturns a PartialMonitoringEventReader 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