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


UserEvents Members

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

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

Public Methods

(see also Protected Methods )

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

В начало

Protected Methods

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

В начало

Public Events

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

В начало

См. также

Справочник

UserEvents Class
Microsoft.SqlServer.Management.Smo Namespace

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

Handling SMO Events