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


Элементы StatisticEvents

The StatisticEvents object represents the settings required for SQL Server statistic counter event notification.

Тип StatisticEvents предоставляет доступ к следующим элементам.

Методы

  Имя Описание
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetEventSelection Returns the currently selected event notifications.
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод StartEvents Starts receiving events.
Открытый метод StopEvents Stops receiving events.
Открытый метод SubscribeToEvents(ObjectEventSet) Specifies the statistic counter events to receive.
Открытый метод SubscribeToEvents(ObjectEventSet, ServerEventHandler) Specifies the statistic counter events to receive and the event handler that handles the events.
Открытый метод ToString (Наследуется из Object.)
Открытый метод UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
Открытый метод UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

В начало

События

  Имя Описание
Открытое событие ServerEvent Specifies the event raised when an event occurs in Statistic object and the user has subscribed to the events from that object instance.

В начало