IOperationalDataManagement.GetPartialMonitoringEventReader Method (Guid, MonitoringEventCriteria, TraversalDepth, MonitoringEventProperty[])
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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 MonitoringEventCriteria object, the TraversalDepth object, and the MonitoringEventProperty properties.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As IOperationalDataManagement
Dim instanceId As Guid
Dim criteria As MonitoringEventCriteria
Dim traversalDepth As TraversalDepth
Dim properties As MonitoringEventProperty()
Dim returnValue As PartialMonitoringEventReader
returnValue = instance.GetPartialMonitoringEventReader(instanceId, criteria, traversalDepth, properties)
Syntax
'Declaration
Function GetPartialMonitoringEventReader ( _
instanceId As Guid, _
criteria As MonitoringEventCriteria, _
traversalDepth As TraversalDepth, _
ParamArray properties As MonitoringEventProperty() _
) As PartialMonitoringEventReader
PartialMonitoringEventReader GetPartialMonitoringEventReader (
Guid instanceId,
MonitoringEventCriteria criteria,
TraversalDepth traversalDepth,
params MonitoringEventProperty[] properties
)
PartialMonitoringEventReader^ GetPartialMonitoringEventReader (
Guid instanceId,
MonitoringEventCriteria^ criteria,
TraversalDepth traversalDepth,
... array<MonitoringEventProperty^>^ properties
)
PartialMonitoringEventReader GetPartialMonitoringEventReader (
Guid instanceId,
MonitoringEventCriteria criteria,
TraversalDepth traversalDepth,
MonitoringEventProperty[] properties
)
function GetPartialMonitoringEventReader (
instanceId : Guid,
criteria : MonitoringEventCriteria,
traversalDepth : TraversalDepth,
... properties : MonitoringEventProperty[]
) : PartialMonitoringEventReader
Parameters
- instanceId
- criteria
An optional MonitoringEventCriteria object by which to scope the method. Otherwise, pass null.
- traversalDepth
The 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
The MonitoringEventProperty properties by which this method is to be scoped.
Return Value
Returns a PartialMonitoringEventReader object.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
IOperationalDataManagement Interface
IOperationalDataManagement Members
Microsoft.EnterpriseManagement Namespace