Compartir a través de


LoginEvents Miembros

The LoginEvents object represents the settings required for SQL Server login event notification.

El tipo LoginEvents 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(ObjectEventSet) Specifies the login events to receive.
Método publico SubscribeToEvents(ObjectEventSet, ServerEventHandler) Specifies the login 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 Login object and the user has subscribed to the event from that object instance.

Principio