مشاركة عبر


ServiceContract.MessageTypeMappings Property

Gets the message type mappings of the ServiceContract object.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(MessageTypeMapping))> _
Public ReadOnly Property MessageTypeMappings As MessageTypeMappingCollection 
    Get
'Usage
Dim instance As ServiceContract 
Dim value As MessageTypeMappingCollection 

value = instance.MessageTypeMappings
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, typeof(MessageTypeMapping))]
public MessageTypeMappingCollection MessageTypeMappings { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::OneToAny, 
    typeof(MessageTypeMapping))]
public:
property MessageTypeMappingCollection^ MessageTypeMappings {
    MessageTypeMappingCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, 
    typeof(MessageTypeMapping))>]
member MessageTypeMappings : MessageTypeMappingCollection
function get MessageTypeMappings () : MessageTypeMappingCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.MessageTypeMappingCollection
A MessageTypeMappingCollection object that specifies the message type mappings for the ServiceContract object.

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

ServiceContract Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

DEL - Development (Service Broker)

Managing Service Broker

Service Broker