Поделиться через


Свойство ServiceBroker.MessageTypes

Represents a collection of MessageType objects. Each MessageType object represents a message type defined on the instance of Компонент Service Broker.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Broker
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(MessageType))> _
Public ReadOnly Property MessageTypes As MessageTypeCollection 
    Get
'Применение
Dim instance As ServiceBroker 
Dim value As MessageTypeCollection 

value = instance.MessageTypes
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MessageType))]
public MessageTypeCollection MessageTypes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(MessageType))]
public:
property MessageTypeCollection^ MessageTypes {
    MessageTypeCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MessageType))>]
member MessageTypes : MessageTypeCollection
function get MessageTypes () : MessageTypeCollection

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.Broker.MessageTypeCollection
A MessageTypeCollection object that represents all the message types defined on the instance of Компонент Service Broker.

Примеры

Readme_ServiceBrokerConfiguration

См. также

Справочник

ServiceBroker Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Broker

Другие ресурсы

Разработка (компонент Service Broker)

Управление компонентом Service Broker

Общие сведения (компонент Service Broker)