ServiceBroker.MessageTypes Property

 

Applies To: SQL Server 2016 Preview

Represents a collection of MessageType objects. Each MessageType object represents a message type defined on the instance of Service Broker.

Namespace:   Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, 
    SfcContainerCardinality.ZeroToAny, typeof(MessageType))]
public MessageTypeCollection MessageTypes { get; }
public:
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, 
    SfcContainerCardinality::ZeroToAny, (MessageType^::typeid))]
property MessageTypeCollection^ MessageTypes {
    MessageTypeCollection^ get();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer,
    SfcContainerCardinality.ZeroToAny, typeof(MessageType))>]
member MessageTypes : MessageTypeCollection with get
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer,
    SfcContainerCardinality.ZeroToAny, GetType(MessageType))>
Public ReadOnly Property MessageTypes As MessageTypeCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.MessageTypeCollection

A MessageTypeCollection object that represents all the message types defined on the instance of Service Broker.

Examples

Legacy Code Example

Unable to find linked topic '6b6e21f0-f58b-4d16-a6d8-81645503d2bf'.

See Also

ServiceBroker Class
Microsoft.SqlServer.Management.Smo.Broker Namespace

Managing Service Broker

Unable to find linked topic 'bffb59f3-8790-4414-8669-44b852c36db7'.Unable to find linked topic '2b3b1bb2-f637-4ff3-801d-e573d4223990'.

Return to top