다음을 통해 공유


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.