UserDefinedFunctionEvents.UnsubscribeAllEvents Method

Clears all event settings, and removes all event handlers.

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

Syntax

'Declaration
Public Sub UnsubscribeAllEvents
'Usage
Dim instance As UserDefinedFunctionEvents

instance.UnsubscribeAllEvents()
public void UnsubscribeAllEvents()
public:
void UnsubscribeAllEvents()
member UnsubscribeAllEvents : unit -> unit 
public function UnsubscribeAllEvents()