Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TriggerEvents.SubscribeToEvents Method (ObjectEventSet, ServerEventHandler)

Specifies the trigger events to receive and the event handler that handles the events.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public void SubscribeToEvents(
	ObjectEventSet events,
	ServerEventHandler eventHandler
)

Parameters

events
Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that specifies the set of events to receive.
eventHandler
Type: Microsoft.SqlServer.Management.Smo.ServerEventHandler
An SmoApplication.AnyObjectEventHandler object that handles the events that are received.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.