Returns the currently selected event notifications.
命名空間: Microsoft.SqlServer.Management.Smo.Broker
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function GetEventSelection As ObjectEventSet
'用途
Dim instance As ServiceContractEvents
Dim returnValue As ObjectEventSet
returnValue = instance.GetEventSelection()
public ObjectEventSet GetEventSelection()
public:
ObjectEventSet^ GetEventSelection()
member GetEventSelection : unit -> ObjectEventSet
public function GetEventSelection() : ObjectEventSet
傳回值
型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object that specifies the set of service contract events.
範例
Readme_ServiceBrokerConfiguration
請參閱
參考
Microsoft.SqlServer.Management.Smo.Broker 命名空間