ForwardAlways Property (SQL-DMO)

The ForwardAlways property controls event forwarding for SQL Server Agent.

Applies To

AlertSystem Object

Syntax

object.ForwardAlways [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

SQL Server Agent can be configured to forward events to another Microsoft® SQL Server™ installation. By default, when an event forward server is defined, the forwarding server forwards only events for which no alert notification mechanism exists.

If True, all events on the forwarding server are directed to the forwarded server regardless of the presence of notifications for the event on the forwarding server.

If False, only events with no alert notification available are forwarded from the forwarding server.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetForwardAlways(LPBOOL pRetVal);

HRESULT SetForwardAlways(BOOL NewValue);

  


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