ServerEvents.UnsubscribeAllEvents Method

Definition

Unsubscribes from all events and releases all memory allocated for events subscriptions.

C#
public void UnsubscribeAllEvents();

Applies to

Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0