SqlAssemblyEvents.GetEventSelection Method ()

 

Applies To: SQL Server 2016 Preview

Returns the currently selected event notifications.

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

Syntax

public SqlAssemblyEventSet GetEventSelection()
public:
SqlAssemblyEventSet^ GetEventSelection()
member GetEventSelection : unit -> SqlAssemblyEventSet
Public Function GetEventSelection As SqlAssemblyEventSet

Return Value

Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet

A SqlAssemblyEventSet object that specifies the set of assembly events.

Examples

Legacy Code Example

Handling SMO Events

See Also

SqlAssemblyEvents Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top