Compartilhar via


Propriedade do RDL ServiceBroker.MessageTypes

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(MessageType))> _
Public ReadOnly Property MessageTypes As MessageTypeCollection 
    Get
'Uso
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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Broker.MessageTypeCollection
A MessageTypeCollection object that represents all the message types defined on the instance of Service Broker.

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

ServiceBroker Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Desenvolvimento (Service Broker)

Gerenciando o Service Broker

Visão geral (Service Broker)