共用方式為


DatabaseEvents.SubscribeToEvents Method

Specifies the database events to receive.

備註

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

多載清單

名稱 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.

請參閱

參考

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

其他資源

Handling SMO Events