Share via


MessageTypeMapping.MessageSource Property

Gets or sets the message source.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MessageSource As MessageSource 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

MessageTypeMapping Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Service Broker

Managing Service Broker

DEL - Development (Service Broker)