Unfortunately, I do not think this is possible. If you run the following query,
select * from sys.messages where language_id=1033 and severity between 11 and 16
he produces more than six thousand lines. You can write a small application to parse a table and create a C # class with const properties representing each message, but this is probably not worth the effort.
tbreffni
source share