共用方式為


MessageType.Events 屬性

Gets the events associated with the message type.

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Events As MessageTypeEvents 
    Get
'用途
Dim instance As MessageType 
Dim value As MessageTypeEvents 

value = instance.Events
public MessageTypeEvents Events { get; }
public:
property MessageTypeEvents^ Events {
    MessageTypeEvents^ get ();
}
member Events : MessageTypeEvents
function get Events () : MessageTypeEvents

屬性值

型別:Microsoft.SqlServer.Management.Smo.Broker.MessageTypeEvents
A MessageTypeEvents object that represents the message type events.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

MessageType 類別

Microsoft.SqlServer.Management.Smo.Broker 命名空間

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)

CREATE MESSAGE TYPE (Transact-SQL)