ServerEventArgs Class
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.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

