Freigeben über


IsMessageForwardingEnabled-Eigenschaft

Gets or sets the Boolean property that specifies whether message forwarding is enabled on the Service Broker payload.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property IsMessageForwardingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As ServiceBrokerPayload
Dim value As Boolean

value = instance.IsMessageForwardingEnabled

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

Eigenschaftenwert

Typ: System. . :: . .Boolean
A Boolean value that specifies whether message forwarding is enabled.
If True, message forwarding is enabled.
If False (default), message forwarding is disabled.