Partager via


Propriété MessageTypeMappings

Gets the message type mappings of the ServiceContract object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(MessageTypeMapping))> _
Public ReadOnly Property MessageTypeMappings As MessageTypeMappingCollection
    Get
'Utilisation
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

Valeur de propriété

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