次の方法で共有


IOperationalDataManagement.GetPartialMonitoringAlertReader Method (Guid, ManagementPackClass, TraversalDepth, Nullable<DateTime>, MonitoringAlertProperty[])

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a PartialMonitoringAlertReader object for accessing MonitoringAlert objects in the ManagementGroup. The returned MonitoringAlert objects are scoped to a specific PartialMonitoringObject object’s System.Guid object, the ManagementPackClass 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)

Syntax

[ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")]
PartialMonitoringAlertReader GetPartialMonitoringAlertReader(
    Guid id,
    ManagementPackClass managementPackClass,
    TraversalDepth traversalDepth,
    Nullable<DateTime> lastModified,
    params MonitoringAlertProperty[] properties
)
[ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")]
PartialMonitoringAlertReader^ GetPartialMonitoringAlertReader(
    Guid id,
    ManagementPackClass^ managementPackClass,
    TraversalDepth traversalDepth,
    Nullable<DateTime> lastModified,
    ... array<MonitoringAlertProperty^>^ properties
)
[<ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")>]
abstract GetPartialMonitoringAlertReader : 
        id:Guid *
        managementPackClass:ManagementPackClass *
        traversalDepth:TraversalDepth *
        lastModified:Nullable<DateTime> *
        [<ParamArrayAttribute>] properties:MonitoringAlertProperty[] -> PartialMonitoringAlertReader
<ObsoleteAttribute("Use PartialMonitoringAlertReader GetPartialMonitoringAlertReader(Guid id, MonitoringAlertCriteria criteria, ManagementPackClass managementPackClass, TraversalDepth traversalDepth, DateTime? lastModified, params MonitoringAlertProperty[] properties);")>
Function GetPartialMonitoringAlertReader (
    id As Guid,
    managementPackClass As ManagementPackClass,
    traversalDepth As TraversalDepth,
    lastModified As Nullable(Of Date),
    ParamArray properties As MonitoringAlertProperty()
) As PartialMonitoringAlertReader

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringAlertReader

Returns a PartialMonitoringAlertReader object.

See Also

GetPartialMonitoringAlertReader Overload
IOperationalDataManagement Interface
Microsoft.EnterpriseManagement Namespace

Return to top