共用方式為


ServiceQueue.Events 屬性

Gets the events associated with the service queue.

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

語法

'宣告
Public ReadOnly Property Events As ServiceQueueEvents 
    Get
'用途
Dim instance As ServiceQueue 
Dim value As ServiceQueueEvents 

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

屬性值

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

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceQueue 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)

CREATE QUEUE (Transact-SQL)