共用方式為


ServiceContract.Events 屬性

Gets the events associated with the service contract.

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

語法

'宣告
Public ReadOnly Property Events As ServiceContractEvents 
    Get
'用途
Dim instance As ServiceContract 
Dim value As ServiceContractEvents 

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

屬性值

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

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

ServiceContract 類別

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

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)