IOperationalDataManagement.GetPartialMonitoringEventReader Method (Guid, 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 System.Guid object of a specific PartialMonitoringObject 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(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")]
PartialMonitoringEventReader GetPartialMonitoringEventReader(
Guid instanceId,
TraversalDepth traversalDepth,
params MonitoringEventProperty[] properties
)
[ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")]
PartialMonitoringEventReader^ GetPartialMonitoringEventReader(
Guid instanceId,
TraversalDepth traversalDepth,
... array<MonitoringEventProperty^>^ properties
)
[<ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")>]
abstract GetPartialMonitoringEventReader :
instanceId:Guid *
traversalDepth:TraversalDepth *
[<ParamArrayAttribute>] properties:MonitoringEventProperty[] -> PartialMonitoringEventReader
<ObsoleteAttribute("Use PartialMonitoringEventReader GetPartialMonitoringEventReader(Guid instanceId, MonitoringEventCriteria criteria, TraversalDepth traversalDepth, params MonitoringEventProperty[] properties);")>
Function GetPartialMonitoringEventReader (
instanceId As Guid,
traversalDepth As TraversalDepth,
ParamArray properties As MonitoringEventProperty()
) As PartialMonitoringEventReader
Parameters
instanceId
Type: System.GuidThe PartialMonitoringObject instance to which the method is scoped.
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.
properties
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringEventProperty[]The MonitoringEventProperty properties by which this method is to be scoped.
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringEventReader
Returns a PartialMonitoringEventReader object.
See Also
GetPartialMonitoringEventReader Overload
IOperationalDataManagement Interface
Microsoft.EnterpriseManagement Namespace
Return to top