Share via


IOperationalDataManagement.GetPartialMonitoringAlertReader Method (EnterpriseManagementObject, MonitoringAlertCriteria, TraversalDepth, Nullable, MonitoringAlertProperty[])

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Retrieves a PartialMonitoringAlertReader object for accessing the MonitoringAlert objects in the ManagementGroup. The returned MonitoringAlert objects are scoped to a specific PartialMonitoringObject object, the MonitoringAlertCriteria object, the TraversalDepth object, the last changed DateTime object, and the MonitoringAlertProperty properties.

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

Usage

'Usage
Dim instance As IOperationalDataManagement
Dim instance As EnterpriseManagementObject
Dim criteria As MonitoringAlertCriteria
Dim traversalDepth As TraversalDepth
Dim lastModified As Nullable(Of DateTime)
Dim properties As MonitoringAlertProperty()
Dim returnValue As PartialMonitoringAlertReader

returnValue = instance.GetPartialMonitoringAlertReader(instance, criteria, traversalDepth, lastModified, properties)

Syntax

'Declaration
<ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")> _
Function GetPartialMonitoringAlertReader ( _
    instance As EnterpriseManagementObject, _
    criteria As MonitoringAlertCriteria, _
    traversalDepth As TraversalDepth, _
    lastModified As Nullable(Of DateTime), _
    ParamArray properties As MonitoringAlertProperty() _
) As PartialMonitoringAlertReader
[ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")] 
PartialMonitoringAlertReader GetPartialMonitoringAlertReader (
    EnterpriseManagementObject instance,
    MonitoringAlertCriteria criteria,
    TraversalDepth traversalDepth,
    Nullable<DateTime> lastModified,
    params MonitoringAlertProperty[] properties
)
[ObsoleteAttribute(L"Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")] 
PartialMonitoringAlertReader^ GetPartialMonitoringAlertReader (
    EnterpriseManagementObject^ instance, 
    MonitoringAlertCriteria^ criteria, 
    TraversalDepth traversalDepth, 
    Nullable<DateTime> lastModified, 
    ... array<MonitoringAlertProperty^>^ properties
)
/** @attribute ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);") */ 
PartialMonitoringAlertReader GetPartialMonitoringAlertReader (
    EnterpriseManagementObject instance, 
    MonitoringAlertCriteria criteria, 
    TraversalDepth traversalDepth, 
    Nullable<DateTime> lastModified, 
    MonitoringAlertProperty[] properties
)
ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);") 
function GetPartialMonitoringAlertReader (
    instance : EnterpriseManagementObject, 
    criteria : MonitoringAlertCriteria, 
    traversalDepth : TraversalDepth, 
    lastModified : Nullable<DateTime>, 
    ... properties : MonitoringAlertProperty[]
) : PartialMonitoringAlertReader

Parameters

  • 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.
  • lastModified
    The alert’s last changed DateTime object to which this method is scoped.

Return Value

Returns a PartialMonitoringAlertReader 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