Export (0) Print
Expand All

SchemaEvents.SubscribeToEvents Method (ObjectEventSet)

Specifies the object events to receive.

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

public void SubscribeToEvents(
	ObjectEventSet events
)

Parameters

events
Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that specifies the events to receive.

Events are sent to the event handlers that are registered with the OnEvent event.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft