StoredProcedureEvents.GetEventSelection Method

Returns the currently selected event notifications.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetEventSelection As StoredProcedureEventSet
'Usage
Dim instance As StoredProcedureEvents 
Dim returnValue As StoredProcedureEventSet 

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

Return Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the set of stored procedure events.

Examples

Handling SMO Events

See Also

Reference

StoredProcedureEvents Class

Microsoft.SqlServer.Management.Smo Namespace