Поделиться через


IOperationalDataManagement.GetMonitoringAlertsCount Method (MonitoringAlertCriteria)

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

Retrieves the number of MonitoringAlert objects that match the specified filter.

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

Usage

'Usage
Dim instance As IOperationalDataManagement
Dim criteria As MonitoringAlertCriteria
Dim returnValue As Integer

returnValue = instance.GetMonitoringAlertsCount(criteria)

Syntax

'Declaration
Function GetMonitoringAlertsCount ( _
    criteria As MonitoringAlertCriteria _
) As Integer
int GetMonitoringAlertsCount (
    MonitoringAlertCriteria criteria
)
int GetMonitoringAlertsCount (
    MonitoringAlertCriteria^ criteria
)
int GetMonitoringAlertsCount (
    MonitoringAlertCriteria criteria
)
function GetMonitoringAlertsCount (
    criteria : MonitoringAlertCriteria
) : int

Parameters

  • criteria
    A value that specifies the kind of monitoring alerts.

Return Value

Returns a Int32 that represents the selected MonitoringAlert objects.

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