共用方式為


ServiceRouteEvents Members

The ServiceRouteEvents object represents the settings required for Microsoft SQL Server service route event notification.

The following tables list the members exposed by the ServiceRouteEvents type.

Public Methods

(see also Protected Methods )

  名稱 Description
ms219221.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219221.pubmethod(zh-tw,SQL.90).gif GetEventSelection Returns the currently selected event notifications.
ms219221.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms219221.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms219221.pubmethod(zh-tw,SQL.90).gifms219221.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219221.pubmethod(zh-tw,SQL.90).gif StartEvents Starts receiving events.
ms219221.pubmethod(zh-tw,SQL.90).gif StopEvents Stops receiving events.
ms219221.pubmethod(zh-tw,SQL.90).gif SubscribeToEvents Overloaded. Specifies the service route events to receive.
ms219221.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )
ms219221.pubmethod(zh-tw,SQL.90).gif UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
ms219221.pubmethod(zh-tw,SQL.90).gif UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

頂端

Protected Methods

  名稱 Description
ms219221.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms219221.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

Public Events

  名稱 Description
ms219221.pubevent(zh-tw,SQL.90).gif ServerEvent Specifies the event raised when an event occurs in ServiceRoute object and the user subscribed to the events from that object instance.

頂端

請參閱

參考

ServiceRouteEvents Class
Microsoft.SqlServer.Management.Smo.Broker Namespace

其他資源

Handling SMO Events