SQLSeverity Property (SQL-DMO)

The SQLSeverity property identifies a Microsoft® SQL Server™ error message severity level.

Applies To

JobHistoryFilter Object

Syntax

object.SQLSeverity [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer equal to -1 or from 1 through 25

Remarks

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

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSQLSeverity(LPLONG pRetVal);

HRESULT SetSQLSeverity(long NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.