共用方式為


BrokerService.Events 屬性

Gets the events associated with the Service Broker service.

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

語法

'宣告
Public ReadOnly Property Events As BrokerServiceEvents 
    Get
'用途
Dim instance As BrokerService 
Dim value As BrokerServiceEvents 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Broker.BrokerServiceEvents
A BrokerServiceEvents object that represents the Service Broker service events.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

BrokerService 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)