IEnumerableAlertExtensions.GetSeverityLevel Method (IEnumerable<Alert>)
Returns the highest severity of the alerts in the specified IEnumerable implementation of Alert objects.
Namespace: Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework
Assembly: AlertFramework (in AlertFramework.dll)
Syntax
public static HealthStatus GetSeverityLevel(
this IEnumerable<Alert> alertEnumerable
)
public:
[ExtensionAttribute]
static HealthStatus GetSeverityLevel(
IEnumerable<Alert^>^ alertEnumerable
)
<ExtensionAttribute>
Public Shared Function GetSeverityLevel (
alertEnumerable As IEnumerable(Of Alert)
) As HealthStatus
Parameters
alertEnumerable
Type: System.Collections.Generic.IEnumerable<Alert>The IEnumerable implementation of Alert objects.
Return Value
Type: Microsoft.WindowsServerSolutions.NetworkHealth.Engine.HealthStatus
An instance of HealthStatus.
See Also
IEnumerableAlertExtensions Class
Microsoft.WindowsServerSolutions.NetworkHealth.AlertFramework Namespace
Return to top