TableEvents.UnsubscribeAllEvents Method ()

 

Applies To: SQL Server 2016 Preview

Clears all event settings, and removes all event handlers.

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

Syntax

public void UnsubscribeAllEvents()
public:
void UnsubscribeAllEvents()
member UnsubscribeAllEvents : unit -> unit
Public Sub UnsubscribeAllEvents

Examples

Legacy Code Example

Handling SMO Events

See Also

TableEvents Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top