Export (0) Print
Expand All

SchemaEvents.UnsubscribeFromEvents Method (ObjectEventSet)


Applies To: SQL Server 2016 Preview

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

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

public void UnsubscribeFromEvents(
	ObjectEventSet events


Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet

An ObjectEventSet object that specifies the events to clear.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft