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


Элементы ServerEventArgs

The ServerEventArgs object provides programmatic access to the arguments that are used to report all types of events that occur on an instance of SQL Server.

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

Методы

  Имя Описание
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод ToString (Наследуется из Object.)

В начало

Свойства

  Имя Описание
Открытое свойство EventType Gets the type of event.
Открытое свойство PostTime Gets the date and time at which the argument was posted.
Открытое свойство Properties Represents a collection of EventProperty objects. Each EventProperty object represents a property of a server event.
Открытое свойство Spid Gets the server process identifier (SPID) of the event.
Открытое свойство SqlInstance Gets the instance of SQL Server on which the event occurred.

В начало