Retrieves a PartialMonitoringEventReader object for
accessing MonitoringEvent objects in the ManagementGroup object. The returned MonitoringEvent objects are scoped to a specific
PartialMonitoringObject 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 instance As EnterpriseManagementObject Dim traversalDepth As TraversalDepth Dim properties As MonitoringEventProperty() Dim returnValue As PartialMonitoringEventReader returnValue = instance.GetPartialMonitoringEventReader(instance, traversalDepth, properties)<ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")> _ Function GetPartialMonitoringEventReader ( _ instance As EnterpriseManagementObject, _ traversalDepth As TraversalDepth, _ ParamArray properties As MonitoringEventProperty() _ ) As PartialMonitoringEventReader[ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")] PartialMonitoringEventReader GetPartialMonitoringEventReader ( EnterpriseManagementObject instance, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties )[ObsoleteAttribute(L"Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")] PartialMonitoringEventReader^ GetPartialMonitoringEventReader ( EnterpriseManagementObject^ instance, TraversalDepth traversalDepth, ... array<MonitoringEventProperty^>^ properties )/** @attribute ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);") */ PartialMonitoringEventReader GetPartialMonitoringEventReader ( EnterpriseManagementObject instance, TraversalDepth traversalDepth, MonitoringEventProperty[] properties )ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);") function GetPartialMonitoringEventReader ( instance : EnterpriseManagementObject, traversalDepth : TraversalDepth, ... properties : MonitoringEventProperty[] ) : PartialMonitoringEventReaderParametersinstanceThe PartialMonitoringObject instance to which the method is scoped.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 properties by which this method is to be scoped.Return ValueReturns a PartialMonitoringEventReader object.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IOperationalDataManagement Dim instance As EnterpriseManagementObject Dim traversalDepth As TraversalDepth Dim properties As MonitoringEventProperty() Dim returnValue As PartialMonitoringEventReader returnValue = instance.GetPartialMonitoringEventReader(instance, traversalDepth, properties)<ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")> _ Function GetPartialMonitoringEventReader ( _ instance As EnterpriseManagementObject, _ traversalDepth As TraversalDepth, _ ParamArray properties As MonitoringEventProperty() _ ) As PartialMonitoringEventReader[ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")] PartialMonitoringEventReader GetPartialMonitoringEventReader ( EnterpriseManagementObject instance, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties )[ObsoleteAttribute(L"Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")] PartialMonitoringEventReader^ GetPartialMonitoringEventReader ( EnterpriseManagementObject^ instance, TraversalDepth traversalDepth, ... array<MonitoringEventProperty^>^ properties )/** @attribute ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);") */ PartialMonitoringEventReader GetPartialMonitoringEventReader ( EnterpriseManagementObject instance, TraversalDepth traversalDepth, MonitoringEventProperty[] properties )ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);") function GetPartialMonitoringEventReader ( instance : EnterpriseManagementObject, traversalDepth : TraversalDepth, ... properties : MonitoringEventProperty[] ) : PartialMonitoringEventReaderParametersinstanceThe PartialMonitoringObject instance to which the method is scoped.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 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.