ServerEvents.SubscribeToEvents Method

Specifies the server events to receive.

备注

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

重载列表

名称 Description
ServerEvents.SubscribeToEvents (ServerEventSet)
Specifies the server events to receive.
ServerEvents.SubscribeToEvents (ServerTraceEventSet)
Specifies the server trace events to receive.
ServerEvents.SubscribeToEvents (ServerEventSet, ServerEventHandler)
Specifies the server events to receive and the event handler that handles the events.
ServerEvents.SubscribeToEvents (ServerTraceEventSet, ServerEventHandler)
Specifies the server trace events to receive and the event handler that handles the events.

请参阅

参考

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

其他资源

Handling SMO Events