StatementEventArgs Members

The StatementEventArgs class represents the arguments used when a statement event is raised.

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

Public Constructors

  Name Description
StatementEventArgs Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date.

Top

Public Properties

  Name Description
ms218671.pubproperty(en-US,SQL.90).gif SqlStatement Gets the Transact-SQL statement that caused the statement event.
ms218671.pubproperty(en-US,SQL.90).gif TimeStamp Gets the time and date when the statement event occurred.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms218671.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218671.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms218671.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms218671.pubmethod(en-US,SQL.90).gifms218671.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218671.pubmethod(en-US,SQL.90).gif ToString Overridden. Returns a String value that represents the StatementEventArgs object.

Top

Protected Methods

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

Top

See Also

Reference

StatementEventArgs Class
Microsoft.SqlServer.Management.Common Namespace

Other Resources

Handling SMO Events