SubscribeToEvents Method (ViewEventSet)
Collapse the table of content
Expand the table of content

ViewEvents.SubscribeToEvents Method (ViewEventSet)

 

Specifies the view events to receive.

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

public void SubscribeToEvents(
	ViewEventSet events
)

Parameters

events
Type: Microsoft.SqlServer.Management.Smo.ViewEventSet

A ViewEventSet object that specifies the set of events to receive.

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

Return to top
Show:
© 2016 Microsoft