ServerEventArgs Members

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

The following tables list the members exposed by the ServerEventArgs type.

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220198.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220198.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220198.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220198.pubmethod(en-US,SQL.90).gifms220198.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220198.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220198.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220198.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

ServerEventArgs Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events