Compartilhar via


Propriedade do RDL ServiceContract.MessageTypeMappings

Gets the message type mappings of the ServiceContract object.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(MessageTypeMapping))> _
Public ReadOnly Property MessageTypeMappings As MessageTypeMappingCollection 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

ServiceContract Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Desenvolvimento (Service Broker)

Gerenciando o Service Broker

Visão geral (Service Broker)