This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The Severity property identifies a Microsoft SQL Server error message severity level to a SQL Server Agent alert.
A SQL Server Agent alert is raised when a SQL Server process raises a specific error or an error of a specific severity level. Setting the Severity property of an Alert object associates an alert with a specific SQL Server error message severity level.
Setting both the Severity and MessageID properties of an Alert object attempts to associate an alert with both an error message severity level and an error message, which results in an error.