Condividi tramite


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

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a PartialMonitoringEventReader object for accessing MonitoringEvent objects in the ManagementGroup object. The returned MonitoringEvent objects are scoped to a specific ManagementPackClass object, the TraversalDepth object, and the MonitoringEventProperty properties.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(MonitoringEventCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")]
PartialMonitoringEventReader GetPartialMonitoringEventReader(
    ManagementPackClass managementPackClass,
    TraversalDepth traversalDepth,
    params MonitoringEventProperty[] properties
)
[ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(MonitoringEventCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")]
PartialMonitoringEventReader^ GetPartialMonitoringEventReader(
    ManagementPackClass^ managementPackClass,
    TraversalDepth traversalDepth,
    ... array<MonitoringEventProperty^>^ properties
)
[<ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(MonitoringEventCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")>]
abstract GetPartialMonitoringEventReader : 
        managementPackClass:ManagementPackClass *
        traversalDepth:TraversalDepth *
        [<ParamArrayAttribute>] properties:MonitoringEventProperty[] -> PartialMonitoringEventReader
<ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(MonitoringEventCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")>
Function GetPartialMonitoringEventReader (
    managementPackClass As ManagementPackClass,
    traversalDepth As TraversalDepth,
    ParamArray properties As MonitoringEventProperty()
) As PartialMonitoringEventReader

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringEventReader

Returns a PartialMonitoringEventReader object.

See Also

GetPartialMonitoringEventReader Overload
IOperationalDataManagement Interface
Microsoft.EnterpriseManagement Namespace

Return to top