共用方式為


MessageTypeMappings 屬性

Gets the message type mappings of the ServiceContract object.

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

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(MessageTypeMapping))> _
Public ReadOnly Property MessageTypeMappings As MessageTypeMappingCollection
    Get
'用途
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

屬性值

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