Compartilhar via


Método BrokerServiceEvents.GetEventSelection

Returns the currently selected event notifications.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function GetEventSelection As ObjectEventSet
'Uso
Dim instance As BrokerServiceEvents 
Dim returnValue As ObjectEventSet 

returnValue = instance.GetEventSelection()
public ObjectEventSet GetEventSelection()
public:
ObjectEventSet^ GetEventSelection()
member GetEventSelection : unit -> ObjectEventSet
public function GetEventSelection() : ObjectEventSet

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object that specifies the set of Service Broker service events.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

BrokerServiceEvents Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker