共用方式為


ServiceBrokerPayload.IsMessageForwardingEnabled 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsMessageForwardingEnabled As Boolean 
    Get 
    Set
'用途
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)

屬性值

型別: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.

範例

實作端點

請參閱

參考

ServiceBrokerPayload 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

端點驗證類型