IsForwardedAlways 属性

Gets or sets the Boolean property value that specifies whether all events are forwarded to the forwarding server or only those that have no event notification defined on the current instance of SQL Server.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public Property IsForwardedAlways As Boolean
    Get
    Set
用法
Dim instance As AlertSystem
Dim value As Boolean

value = instance.IsForwardedAlways

instance.IsForwardedAlways = value
[SfcPropertyAttribute]
public bool IsForwardedAlways { get; set; }
[SfcPropertyAttribute]
public:
property bool IsForwardedAlways {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member IsForwardedAlways : bool with get, set
function get IsForwardedAlways () : boolean
function set IsForwardedAlways (value : boolean)

属性值

类型:System. . :: . .Boolean
A Boolean value that specifies whether to forward all events or only those with no event notification.
If True, all events are forwarded to the forwarding server.
If False (default), only the events that have no event notification defined are forwarded.