TechNet
Export (0) Print
Expand All

ServerEvents.UnsubscribeFromEvents Method (ServerTraceEventSet)

 

Clears the specified event settings, and removes all event handlers.

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

public void UnsubscribeFromEvents(
	ServerTraceEventSet events
)

Parameters

events
Type: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet

A ServerTraceEventSet object that specifies the set of events to stop receiving.

Return to top
Show:
© 2016 Microsoft