Share via


PartitionFunctionEvents.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 PartitionFunctionEvents

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

Examples

Handling SMO Events

See Also

Reference

PartitionFunctionEvents Class

Microsoft.SqlServer.Management.Smo Namespace