ServerEventArgs Members

Include Protected Members
Include Inherited Members

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.

The ServerEventArgs type exposes the following members.

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property EventType Gets the type of event.
Public property PostTime Gets the date and time at which the argument was posted.
Public property Properties Represents a collection of EventProperty objects. Each EventProperty object represents a property of a server event.
Public property Spid Gets the server process identifier (SPID) of the event.
Public property SqlInstance Gets the instance of SQL Server on which the event occurred.

Top