LoginEvents.SubscribeToEvents Method

Include Protected Members
Include Inherited Members

Specifies the database events to receive.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SubscribeToEvents(ObjectEventSet) Specifies the login events to receive.
Public method SubscribeToEvents(ObjectEventSet, ServerEventHandler) Specifies the login events to receive and the event handler that handles the events.

Top

See Also

Reference

LoginEvents Class

Microsoft.SqlServer.Management.Smo Namespace