Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UserEvents.SubscribeToEvents Method (ObjectEventSet)

Specifies the database user 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
A ObjectEventSet object that specifies the set of events to receive.

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

Community Additions

ADD
Show:
© 2015 Microsoft