Freigeben über


UserEvents-Member

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

Der UserEvents-Typ macht die folgenden Member verfügbar.

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetEventSelection Returns the currently selected event notifications.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode StartEvents Starts receiving events.
Öffentliche Methode StopEvents Stops receiving events.
Öffentliche Methode SubscribeToEvents(ObjectEventSet) Specifies the database user events to receive.
Öffentliche Methode SubscribeToEvents(ObjectEventSet, ServerEventHandler) Specifies the database user events to receive and the event handler that handles the events.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
Öffentliche Methode UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis ServerEvent Specifies the event raised when an event occurs in User object and the user has subscribed to the events from that object instance.

Zum Anfang