共用方式為


MessageTypeMapping.MessageSource 屬性

Gets or sets the message source.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MessageSource As MessageSource 
    Get 
    Set
'用途
Dim instance As MessageTypeMapping 
Dim value As MessageSource 

value = instance.MessageSource

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Broker.MessageSource
A MessageSource object value that specifies the message source.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

MessageTypeMapping 類別

Microsoft.SqlServer.Management.Smo.Broker 命名空間

其他資源

概觀 (Service Broker)

管理 Service Broker

開發 (Service Broker)