Udostępnij za pośrednictwem


DatabaseEvents.SubscribeToEvents Method

Specifies the database events to receive.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
DatabaseEvents.SubscribeToEvents (DatabaseEventSet)
Specifies the database events to receive.
DatabaseEvents.SubscribeToEvents (DatabaseEventSet, ServerEventHandler)
Specifies the database events to receive and the event handler that handles the events.

See Also

Reference

DatabaseEvents Class
DatabaseEvents Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events