IEnumerableAlertInfoExtensions.CountActiveCritical Method (IEnumerable<AlertInfo>)
Returns the count of active critical alerts in the specified IEnumerable implementation of AlertInfo objects.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public static int CountActiveCritical(
this IEnumerable<AlertInfo> alertEnumerable
)
public:
[ExtensionAttribute]
static int CountActiveCritical(
IEnumerable<AlertInfo^>^ alertEnumerable
)
<ExtensionAttribute>
Public Shared Function CountActiveCritical (
alertEnumerable As IEnumerable(Of AlertInfo)
) As Integer
Parameters
alertEnumerable
Type: System.Collections.Generic.IEnumerable<AlertInfo>The IEnumerable implementation of AlertInfo objects.
Return Value
Type: System.Int32
The number of critical alerts in the specified collection of AlertInfo objects.
Remarks
This count does not include suppressed and cleared alerts that are not considered active.
See Also
IEnumerableAlertInfoExtensions Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top