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


Свойство 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.