Partager via


Méthode GetEventSelection

Returns the currently selected event notifications.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function GetEventSelection As ObjectEventSet
'Utilisation
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

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
A ObjectEventSet object that specifies the set of service contract events.