ForwardingSeverity Property (SQL-DMO)

The ForwardingSeverity property restricts forwarded events by the severity of the error generating the event.

Applies To

AlertSystem Object

Syntax

object.ForwardingSeverity [= value]

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

Remarks

SQL Server Agent can be configured to forward events to another server running Microsoft® SQL Server™. The ForwardingSeverity property is one mechanism used to control the events forwarded.

Set ForwardingSeverity to restrict event forwarding to those events generated by errors with a severity greater than or equal to the property value. Event forwarding may be further restricted using the ForwardAlways property.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetForwardingSeverity(LPLONG pRetVal);

HRESULT SetForwardingSeverity(LONG NewValue);

  


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