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
請參閱
參考
Microsoft.SqlServer.Management.Smo.Broker 命名空間