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