IOperationalDataManagement.GetMonitoringAlertsCount Method (MonitoringAlertCriteria)

Updated: April 16, 2012

Retrieves the number of MonitoringAlert objects that match the specified filter. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IOperationalDataManagement Dim criteria As MonitoringAlertCriteria Dim returnValue As Integer returnValue = instance.GetMonitoringAlertsCount(criteria)Function GetMonitoringAlertsCount ( _ criteria As MonitoringAlertCriteria _ ) As Integerint GetMonitoringAlertsCount ( MonitoringAlertCriteria criteria )int GetMonitoringAlertsCount ( MonitoringAlertCriteria^ criteria )int GetMonitoringAlertsCount ( MonitoringAlertCriteria criteria )function GetMonitoringAlertsCount ( criteria : MonitoringAlertCriteria ) : intParameterscriteriaA value that specifies the kind of monitoring alerts.Return ValueReturns a Int32 that represents the selected MonitoringAlert objects.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms