Compartilhar via


Método ServiceContractEvents.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 ServiceContractEvents 
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 contract events.

Exemplos

Readme_ServiceBrokerConfiguration

Consulte também

Referência

ServiceContractEvents Classe

Namespace Microsoft.SqlServer.Management.Smo.Broker

Outros recursos

Gerenciando o Service Broker

Visão geral (Service Broker)