共用方式為


SubscribeToEvents 方法

Specifies the server events to receive.

多載清單 

  名稱 描述
公用方法 SubscribeToEvents(ServerEventSet) Specifies the server events to receive.
公用方法 SubscribeToEvents(ServerTraceEventSet) Specifies the server trace events to receive.
公用方法 SubscribeToEvents(ServerEventSet, ServerEventHandler) Specifies the server events to receive and the event handler that handles the events.
公用方法 SubscribeToEvents(ServerTraceEventSet, ServerEventHandler) Specifies the server trace events to receive and the event handler that handles the events.

頂端