Compartir a través de


DatabaseEvents Miembros

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

El tipo DatabaseEvents expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetEventSelection Returns the currently selected event notifications.
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico StartEvents Starts receiving events.
Método publico StopEvents Stops receiving events.
Método publico SubscribeToEvents(DatabaseEventSet) Specifies the database events to receive.
Método publico SubscribeToEvents(DatabaseEventSet, ServerEventHandler) Specifies the database events to receive and the event handler that handles the events.
Método publico ToString (Se hereda de Object).
Método publico UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
Método publico UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

Principio

Eventos

  Nombre Descripción
Evento público ServerEvent Specifies the event raised when an event occurs in Database object and the user has subscribed to the events from that object instance.

Principio