SQLSeverity Property

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 SQLSeverity property identifies a Microsoft SQL Server error message severity level.

Syntax

object.SQLSeverity [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    A long integer equal to -1 or from 1 through 25

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSQLSeverity(LPLONG pRetVal);
HRESULT SetSQLSeverity(long NewValue);

Remarks

Set SQLSeverity to filter for jobs that, as part of processing, generate an error with the specified severity level. Set SQLSeverity to -1 to stop filtering by raised error message severity.