Compartir a través de


IsMessageForwardingEnabled Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsMessageForwardingEnabled As Boolean
    Get
    Set
'Uso
Dim instance As ServiceBrokerPayload
Dim value As Boolean

value = instance.IsMessageForwardingEnabled

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

Valor de la propiedad

Tipo: 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.