共用方式為


ForwardingSeverity Property

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

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

語法

object.ForwardingSeverity [=value]

Parts

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

  • value
    A long integer from 1 through 25

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetForwardingSeverity(LPLONG pRetVal);
HRESULT SetForwardingSeverity(LONG NewValue);

備註

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 ForwardingSeverityto restrict event forwarding to those events generated by errors with a severity greater than or equal to the property value. Event forwarding can be further restricted using the ForwardAlways property.

Applies To: