Поделиться через


DatabaseEvents Members

The DatabaseEvents object represents the settings required for Microsoft SQL Server database event notification.

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

Public Methods

(see also Protected Methods )

  Имя Description
ms219359.pubmethod(ru-ru,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219359.pubmethod(ru-ru,SQL.90).gif GetEventSelection Returns the currently selected event notifications.
ms219359.pubmethod(ru-ru,SQL.90).gif GetHashCode  (inherited from Object )
ms219359.pubmethod(ru-ru,SQL.90).gif GetType  (inherited from Object )
ms219359.pubmethod(ru-ru,SQL.90).gifms219359.static(ru-ru,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219359.pubmethod(ru-ru,SQL.90).gif StartEvents Starts receiving events.
ms219359.pubmethod(ru-ru,SQL.90).gif StopEvents Stops receiving events.
ms219359.pubmethod(ru-ru,SQL.90).gif SubscribeToEvents Overloaded. Specifies the database events to receive.
ms219359.pubmethod(ru-ru,SQL.90).gif ToString  (inherited from Object )
ms219359.pubmethod(ru-ru,SQL.90).gif UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
ms219359.pubmethod(ru-ru,SQL.90).gif UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

В начало

Protected Methods

  Имя Description
ms219359.protmethod(ru-ru,SQL.90).gif Finalize  (inherited from Object )
ms219359.protmethod(ru-ru,SQL.90).gif MemberwiseClone  (inherited from Object )

В начало

Public Events

  Имя Description
ms219359.pubevent(ru-ru,SQL.90).gif ServerEvent Specifies the event raised when an event occurs in Database object and the user has subscribed to the events from that object instance.

В начало

См. также

Справочник

DatabaseEvents Class
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Handling SMO Events