Compartilhar via


Método MessageTypeEvents.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 MessageTypeEvents 
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 message type events.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

MessageTypeEvents Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Manipulando eventos SMO