ServiceContract.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.

示例

Readme_ServiceBrokerConfiguration

请参阅

参考

ServiceContract 类

Microsoft.SqlServer.Management.Smo.Broker 命名空间

其他资源

开发 (Service Broker)

管理 Service Broker

概述 (Service Broker)